(self, tag, attrib)
return self.__class__(tag, attrib)
Create a new element with the same type.

        *tag* is a string containing the element name.
        *attrib* is a dictionary containing the element attributes.

        Do not call this method, use the SubElement factory function instead.
Create a new element with the same type.
Create a new element with the same type .
def makeelement(self, tag, attrib):
        """Create a new element with the same type.

        *tag* is a string containing the element name.
        *attrib* is a dictionary containing the element attributes.

        Do not call this method, use the SubElement factory function instead.

        """
        return self.__class__(tag, attrib)
def makeelement ( self , tag , attrib ) : return self . __class__ ( tag , attrib )