parameters: (self)
docstring: Reset element.
  
          This function removes all subelements, clears all attributes, and sets
          the text and tail attributes to None.
docstring_summary: Reset element.
docstring_tokens: Reset element .
function: 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
function_tokens: def clear ( self ) : self . attrib . clear ( ) self . _children = [ ] self . text = self . tail = None