WoodyWoo <saulmatchl...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue41899> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com