[issue41899] Poor example for Element.remove()
WoodyWoo
report at bugs.python.org
Wed Sep 30 21:29:21 EDT 2020
WoodyWoo <saulmatchless at 163.com> added the comment:
The docs should specially tell that when need root.remove(child) must works with "for child in root.findall()".
And my code with "while if continue" could make root.insert(index,newchild) easily.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41899>
_______________________________________
More information about the Python-bugs-list
mailing list