[Python-checkins] cpython (3.5): docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs

yury.selivanov python-checkins at python.org
Tue Dec 15 00:45:45 EST 2015


https://hg.python.org/cpython/rev/33ff335da34c
changeset:   99577:33ff335da34c
branch:      3.5
parent:      99575:243b19a8ce1e
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Tue Dec 15 00:45:24 2015 -0500
summary:
  docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs

files:
  Doc/library/asyncio-task.rst |  5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -539,6 +539,9 @@
 
    .. 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 @@
       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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list