summaryrefslogtreecommitdiffstats
path: root/Doc/library/itertools.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-04-20 18:23:57 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-04-20 18:23:57 (GMT)
commitcccfc825e49760d8e46db38df50fb992a184b3ee (patch)
treeb83afaa80679a573fe5c32da012e226ff4b12169 /Doc/library/itertools.rst
parent31559b6123a520e1c2ef179d75cbd1c3ececf1f7 (diff)
downloadcpython-cccfc825e49760d8e46db38df50fb992a184b3ee.zip
cpython-cccfc825e49760d8e46db38df50fb992a184b3ee.tar.gz
cpython-cccfc825e49760d8e46db38df50fb992a184b3ee.tar.bz2
Fix typo
Diffstat (limited to 'Doc/library/itertools.rst')
-rw-r--r--Doc/library/itertools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 6b801bb..918918c 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -433,7 +433,7 @@ loops that truncate the stream.
# izip('ABCD', 'xy') --> Ax By
iterables = map(iter, iterables)
while iterables:
- yield yield tuple(map(next, iterables))
+ yield tuple(map(next, iterables))
.. versionchanged:: 2.4
When no iterables are specified, returns a zero length iterator instead of