summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-12-15 00:45:24 -0500
committerYury Selivanov <yselivanov@sprymix.com>2015-12-15 00:45:24 -0500
commite319ab01cee6aa4675cac418d5f5900e5537f66e (patch)
tree76d50b73c7c58554835a77adb0c6963fb7d33e2e
parent4a18b35dbd80d21e1b3c1a5aa45c5c96deb44c7b (diff)
downloadcpython-git-e319ab01cee6aa4675cac418d5f5900e5537f66e.tar.gz
docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs
-rw-r--r--Doc/library/asyncio-task.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 051ae09b8a..28f3757690 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -539,6 +539,9 @@ Task functions
.. versionadded:: 3.4.4
+ .. versionchanged:: 3.5.1
+ The function accepts any :term:`awaitable` object.
+
.. seealso::
The :meth:`BaseEventLoop.create_task` method.
@@ -721,4 +724,4 @@ Task functions
Unlike the functions above, :func:`run_coroutine_threadsafe` requires the
*loop* argument to be passed explicitely.
- .. versionadded:: 3.4.4, 3.5.1
+ .. versionadded:: 3.5.1