[docs] [issue30826] More details in reference 'Looping through a list in Python and modifying it'
Anmol Gupta
report at bugs.python.org
Sun Jul 2 00:22:08 EDT 2017
New submission from Anmol Gupta:
Documentation section: https://docs.python.org/3/reference/compound_stmts.html#for
The documentation does not explain at all why is there an infinite loop when not using a copy of the list.
It leaves the reader in a confused state.
Even there are questions concerning the same on stackoverlflow: https://stackoverflow.com/questions/44633798/loop-through-a-list-in-python-and-modify-it
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30826>
_______________________________________
More information about the docs
mailing list