#NEWLINE# def parse( self , parser , token , tagname , kwargs ) : #NEWLINE# #INDENT# '\n        Parse a token.\n        ' #NEWLINE# value = self . value_class ( self . parse_token ( parser , token ) ) #NEWLINE# if ( self . name in kwargs ) : #NEWLINE# #INDENT# if ( tagname . max_values and ( len ( kwargs [ self . name ] ) == self . max_values ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# kwargs [ self . name ] . append ( value ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# kwargs [ self . name ] = self . sequence_class ( value ) #NEWLINE# #UNINDENT# return True