File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments