[issue5790] itertools.izip python code has a typo

Steven D'Aprano report at bugs.python.org
Sun Apr 19 04:56:44 CEST 2009


New submission from Steven D'Aprano <steve at pearwood.info>:

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

----------
assignee: georg.brandl
components: Documentation
messages: 86156
nosy: georg.brandl, stevenjd
severity: normal
status: open
title: itertools.izip python code has a typo
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5790>
_______________________________________


More information about the Python-bugs-list mailing list