New submission from Steven D'Aprano <st...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue5790>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to