[docs] [issue30826] More details in reference 'Looping through a list in Python and modifying it'

Terry J. Reedy report at bugs.python.org
Sun Sep 24 15:59:24 EDT 2017


Terry J. Reedy added the comment:

I agree that the tutorial For section needs be updated to include non-sequences. A dict example will help with that.

I agree that the unrealistic insert mis-directs attention and like Raymond's replacement.  ['users.copy()' should be 'users.copy().items']

----------
versions: +Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30826>
_______________________________________


More information about the docs mailing list