[docs] [issue10029] "Equivalent to" code for zip is wrong in Python 3

Alexander Belopolsky report at bugs.python.org
Fri Oct 8 20:25:26 CEST 2010

Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Thu, Oct 7, 2010 at 3:37 PM, Raymond Hettinger
<report at bugs.python.org> wrote:
> I'll update the docs with an equivalent that works and that has a comment showing when the
> StopIteration is raised and caught.

In this case, I wonder if "equivalent to" code should be added to the
section for enumerate() and map().  Also since any() and all() have
"equivalent to" code, I think min(), max() and sum() deserve it as


Python tracker <report at bugs.python.org>

More information about the docs mailing list