Skip to content

Commit 7206321

Browse files
committed
rephrase comments
1 parent 1814bfe commit 7206321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/concurrent/futures/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,9 +625,9 @@ def map(self, fn, *iterables, timeout=None, chunksize=1, buffersize=None):
625625
# before the first iterator value is required.
626626
def result_iterator():
627627
try:
628-
# reverse to keep finishing order
628+
# Reverse so that the next (FIFO) future is on the right
629629
fs.reverse()
630-
# Careful not to keep a reference to the popped future or its result
630+
# Careful not to keep references to futures or results
631631
while fs:
632632
# Wait for the next result
633633
if timeout is None:

0 commit comments

Comments
 (0)