#NEWLINE# def normalise( self , meta , val ) : #NEWLINE# #INDENT# result = [ ] #NEWLINE# for val in self . spec . normalise ( meta , val ) . values ( ) : #NEWLINE# #INDENT# if isinstance ( val , Command ) : #NEWLINE# #INDENT# result . append ( val ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result . extend ( val ) #NEWLINE# #UNINDENT# #UNINDENT# return meta