PyDocs

Nav

Structured Markup Processing Tools

ElementTree._setroot

  • ElementTree._setroot(element)
Replace root element of this tree.

This will discard the current contents of the tree and replace it
with the given element.  Use with care!
0 Examples
No examples for xml.etree.ElementTree/ElementTree._setroot.
See Also
No see-alsos for xml.etree.ElementTree/ElementTree._setroot
0 Notes
No notes for ElementTree._setroot