Skip to content

Commit 1814bfe

Browse files
committed
fix comments format
1 parent de09aff commit 1814bfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/concurrent/futures/_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,21 +629,21 @@ def result_iterator():
629629
fs.reverse()
630630
# Careful not to keep a reference to the popped future or its result
631631
while fs:
632-
# wait for the next result
632+
# Wait for the next result
633633
if timeout is None:
634634
_result_or_cancel(fs[-1])
635635
else:
636636
_result_or_cancel(fs[-1], end_time - time.monotonic())
637637

638-
# buffer next task
638+
# Buffer next task
639639
if (
640640
buffersize
641641
and (executor := executor_weakref())
642642
and (args := next(zipped_iterables, None))
643643
):
644644
fs.appendleft(executor.submit(fn, *args))
645645

646-
# yield the awaited result
646+
# Yield the awaited result
647647
yield fs.pop().result()
648648
finally:
649649
for future in fs:

0 commit comments

Comments
 (0)