(self)
Reset element.

        This function removes all subelements, clears all attributes, and sets
        the text and tail attributes to None.
Reset element.
Reset element .
def clear(self):
        """Reset element.

        This function removes all subelements, clears all attributes, and sets
        the text and tail attributes to None.

        """
        self.attrib.clear()
        self._children = []
        self.text = self.tail = None
def clear ( self ) : self . attrib . clear ( ) self . _children = [ ] self . text = self . tail = None