summaryrefslogtreecommitdiff
path: root/Doc/library/asyncio-future.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/asyncio-future.rst')
-rw-r--r--Doc/library/asyncio-future.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/asyncio-future.rst b/Doc/library/asyncio-future.rst
index 6e6e0137c1..c069471b51 100644
--- a/Doc/library/asyncio-future.rst
+++ b/Doc/library/asyncio-future.rst
@@ -35,7 +35,9 @@ Future Functions
is used for the test.)
* a :class:`Task` object wrapping *obj*, if *obj* is a
- coroutine (:func:`iscoroutine` is used for the test.)
+ coroutine (:func:`iscoroutine` is used for the test);
+ in this case the coroutine will be scheduled by
+ ``ensure_future()``.
* a :class:`Task` object that would await on *obj*, if *obj* is an
awaitable (:func:`inspect.isawaitable` is used for the test.)