#NEWLINE# def clone( self , parent = None ) : #NEWLINE# #INDENT# '\n        Clone this object.\n        @param parent: The parent for the clone.\n        @type parent: L{element.Element}\n        @return: A copy of this object assigned to the new parent.\n        @rtype: L{Attribute}\n        ' #NEWLINE# a = Attribute ( self . qname ( ) , self . value ) #NEWLINE# a . parent = parent #NEWLINE# return a