#NEWLINE# def deserialize_from_lines( lines ) : #NEWLINE# #INDENT# for line in lines : #NEWLINE# #INDENT# element_params = line . split ( '=' ) #NEWLINE# element = element_params [ 0 ] . strip ( ) #NEWLINE# params = element_params [ 1 ] . strip ( ) #NEWLINE# if ( ',' in params ) : #NEWLINE# #INDENT# params = tuple ( [ from_str ( s . strip ( ) ) for s in params [ 1 : ( - 1 ) ] . strip ( ) . split ( ',' ) ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# params = from_str ( params ) #NEWLINE# #UNINDENT# ( yield ( element , params ) )