Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Doc/library/asyncio-future.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ Future Functions
* a :class:`Task` object that would await on *obj*, if *obj* is an
awaitable (:func:`inspect.isawaitable` is used for the test.)

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
optional *loop* argument takes an object of :class:`EventLoop` to
denote which event loop *obj* belongs to. By default *loop* is set
to currently running event loop.

.. important::

Expand Down
Loading