We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af46b4 commit 5877410Copy full SHA for 5877410
Doc/library/asyncio-future.rst
@@ -47,7 +47,10 @@ Future Functions
47
* a :class:`Task` object that would await on *obj*, if *obj* is an
48
awaitable (:func:`inspect.isawaitable` is used for the test.)
49
50
- If *obj* is neither of the above a :exc:`TypeError` is raised.
+ If *obj* is neither of the above a :exc:`TypeError` is raised. The
51
+ optional *loop* argument takes an object of :class:`EventLoop` to
52
+ denote which event loop *obj* belongs to. By default *loop* is set
53
+ to currently running event loop.
54
55
.. important::
56
0 commit comments