PyDocs

Nav

Structured Markup Processing Tools

Element.clear

  • Element.clear()
Resets an element. This function removes all subelements, clears all attributes, and sets the text and tail attributes to None.
0 Examples
No examples for xml.etree.ElementTree/Element.clear.
See Also
No see-alsos for xml.etree.ElementTree/Element.clear
0 Notes
No notes for Element.clear