Improve variable name in sample code

This commit is contained in:
Raymond Hettinger 2008-01-22 22:09:26 +00:00
parent 9ed5b57fe2
commit 2dec48d1c5
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ loops that truncate the stream.
def imap(function, *iterables): def imap(function, *iterables):
iterables = map(iter, iterables) iterables = map(iter, iterables)
while True: while True:
args = [i.next() for i in iterables] args = [it.next() for it in iterables]
if function is None: if function is None:
yield tuple(args) yield tuple(args)
else: else: