Skip to content

Commit 2a30697

Browse files
committed
update comment about not keeping references to popped future/result
1 parent 72d7028 commit 2a30697

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
@@ -629,7 +629,7 @@ def result_iterator():
629629
# reverse to keep finishing order
630630
fs.reverse()
631631
while fs:
632-
# Careful not to keep a reference to the popped future
632+
# Careful not to keep a reference to the popped future or its result
633633
if timeout is None:
634634
result.append(_result_or_cancel(fs.pop()))
635635
else:

0 commit comments

Comments
 (0)