File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -757,7 +757,7 @@ Waiting Primitives
757
757
iterable concurrently and block until the condition specified
758
758
by *return_when *.
759
759
760
- The *aws * iterable must not be empty.
760
+ The *aws * iterable must not be empty and generators yielding tasks are not accepted .
761
761
762
762
Returns two sets of Tasks/Futures: ``(done, pending) ``.
763
763
@@ -805,7 +805,8 @@ Waiting Primitives
805
805
.. function :: as_completed(aws, *, timeout=None)
806
806
807
807
Run :ref: `awaitable objects <asyncio-awaitables >` in the *aws *
808
- iterable concurrently. Return an iterator of coroutines.
808
+ iterable concurrently. Generators yielding tasks are not accepted
809
+ as *aws * iterable. Return an iterator of coroutines.
809
810
Each coroutine returned can be awaited to get the earliest next
810
811
result from the iterable of the remaining awaitables.
811
812
You can’t perform that action at this time.
0 commit comments