]> granicus.if.org Git - python/commitdiff
Fix typo
authorRaymond Hettinger <python@rcn.com>
Mon, 20 Apr 2009 18:23:57 +0000 (18:23 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 20 Apr 2009 18:23:57 +0000 (18:23 +0000)
Doc/library/itertools.rst

index 6b801bb6a41c51ddb7dc7dec9c7ad828b7826898..918918cc949f314e02eccc509ab1d05b747ad538 100644 (file)
@@ -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