Commit 029981bb authored by Eli Bendersky's avatar Eli Bendersky

Clarify what the loop arguments means for functions listed in 18.5.2.5

parent 2d26af82
......@@ -374,6 +374,12 @@ loop stops when all tasks are done.
Task functions
--------------
.. note::
In the functions below, the optional *loop* argument allows to explicitly set
the event loop object used by the underlying task or coroutine. If it's
not provided, the default event loop is used.
.. function:: as_completed(fs, \*, loop=None, timeout=None)
Return an iterator whose values, when waited for, are :class:`Future`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment