This commit is contained in:
Raymond Hettinger 2009-04-20 18:23:26 +00:00
parent f581215b69
commit ceecb8d3d8
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ loops that truncate the stream.
# izip('ABCD', 'xy') --> Ax By # izip('ABCD', 'xy') --> Ax By
iterables = map(iter, iterables) iterables = map(iter, iterables)
while iterables: while iterables:
yield yield tuple(map(next, iterables)) yield tuple(map(next, iterables))
.. versionchanged:: 2.4 .. versionchanged:: 2.4
When no iterables are specified, returns a zero length iterator instead of When no iterables are specified, returns a zero length iterator instead of