[docs] [issue22180] operator.setitem example no longer works in Python 3 due to lazy map

R. David Murray report at bugs.python.org
Sun Aug 10 17:13:11 CEST 2014

R. David Murray added the comment:

Heh.  There was a discussion in issue 22106 about valid examples for using 'pass'.  This case is analogous to the one I came up with.

  for x in map(...):

that avoids building a list.

Not that any of it is idiomatic, as you say.

nosy: +r.david.murray
versions:  -Python 3.1, Python 3.2, Python 3.3

Python tracker <report at bugs.python.org>

More information about the docs mailing list