[issue41892] use both "for in" and "ElementTree.remove" has a index bug
WoodyWoo
report at bugs.python.org
Wed Sep 30 11:19:15 EDT 2020
WoodyWoo <saulmatchless at 163.com> added the comment:
I'm green hand in Coding.
But I think the problem caused by "for each in list".
Anything changed in "list" should not act at once,but should act when "for end" or break.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41892>
_______________________________________
More information about the Python-bugs-list
mailing list