#NEWLINE# def _names_to_funcs( namelist , fdict ) : #NEWLINE# #INDENT# result = [ ] #NEWLINE# for n in namelist : #NEWLINE# #INDENT# if ( n and n [ 0 ] ) : #NEWLINE# #INDENT# result . append ( ( fdict [ n [ 0 ] ] , n [ 1 ] ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result . append ( n ) #NEWLINE# #UNINDENT# #UNINDENT# return result