#NEWLINE# def parse_list( self , in_list , macros ) : #NEWLINE# #INDENT# out_list = [ ] #NEWLINE# for value in in_list : #NEWLINE# #INDENT# if isinstance ( value , str ) : #NEWLINE# #INDENT# value = Macro . parse_macro ( string = value , custom_macros = macros ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( isinstance ( value , list ) or isinstance ( value , tuple ) ) : #NEWLINE# #INDENT# value = self . parse_list ( value , macros ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( out_list , dict ) : #NEWLINE# #INDENT# value = self . parse_dict ( value , macros ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# out_list . append ( value ) #NEWLINE# #UNINDENT# return out_list