Commit 58a37b3b authored by Raymond Hettinger's avatar Raymond Hettinger

Improve variable name in sample code

parent d6e72c39
......@@ -218,7 +218,7 @@ loops that truncate the stream.
def imap(function, *iterables):
iterables = map(iter, iterables)
while True:
args = [i.next() for i in iterables]
args = [it.next() for it in iterables]
if function is None:
yield tuple(args)
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment