Skip to content

Commit 7b1d5f6

Browse files
committed
remove redundant iter
1 parent 26c8d8d commit 7b1d5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/concurrent/futures/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def map(self, fn, *iterables, timeout=None, chunksize=1, buffersize=None):
609609
if timeout is not None:
610610
end_time = timeout + time.monotonic()
611611

612-
zipped_iterables = iter(zip(*iterables))
612+
zipped_iterables = zip(*iterables)
613613
if buffersize:
614614
fs = collections.deque(
615615
self.submit(fn, *args) for args in islice(zipped_iterables, buffersize)

0 commit comments

Comments
 (0)