This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: itertools.izip python code has a typo
Type: Stage:
Components: Documentation Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: georg.brandl, rhettinger, steven.daprano
Priority: normal Keywords:

Created on 2009-04-19 02:56 by steven.daprano, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg86156 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2009-04-19 02:56
In the documentation for itertools, the Python equivalent to izip has 
a typo:

yield yield tuple(map(next, iterables))

Obviously should only have a single yield.

http://docs.python.org/library/itertools.html#itertools.izip
msg86202 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2009-04-20 18:25
Thanks for the report.  Fixed in r71770 and r71771.
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 50040
2009-04-20 18:25:24rhettingersetstatus: open -> closed
resolution: fixed
messages: + msg86202
2009-04-19 03:01:48rhettingersetassignee: georg.brandl -> rhettinger

nosy: + rhettinger
2009-04-19 02:56:43steven.dapranocreate