From ceecb8d3d8213d94aa1df4a5bdb01fd9e30016c6 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 20 Apr 2009 18:23:26 +0000 Subject: [PATCH] Fix typo --- Doc/library/itertools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 5b0574aeb33..bf69e212033 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -366,7 +366,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