This commit is contained in:
Raymond Hettinger 2009-04-20 18:23:57 +00:00
parent 31559b6123
commit cccfc825e4
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,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