#NEWLINE# def update( self , fields = None , score = False , all_fields = False ) : #NEWLINE# #INDENT# if ( fields is None ) : #NEWLINE# #INDENT# fields = [ ] #NEWLINE# #UNINDENT# if ( not is_iter ( fields ) ) : #NEWLINE# #INDENT# fields = [ fields ] #NEWLINE# #UNINDENT# self . fields . update ( fields ) #NEWLINE# self . score = score #NEWLINE# self . all_fields = all_fields