diff options
-rw-r--r-- | Doc/library/itertools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 6b801bb6a4..918918cc94 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 |