mirror of https://github.com/python/cpython
Improve variable name in sample code
This commit is contained in:
parent
9ed5b57fe2
commit
2dec48d1c5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue