]> granicus.if.org Git - python/commitdiff
docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs
authorYury Selivanov <yselivanov@sprymix.com>
Tue, 15 Dec 2015 05:45:24 +0000 (00:45 -0500)
committerYury Selivanov <yselivanov@sprymix.com>
Tue, 15 Dec 2015 05:45:24 +0000 (00:45 -0500)
Doc/library/asyncio-task.rst

index 051ae09b8a5329523296ce673b96f32831be08c2..28f375769023bbca5ba86fab7a14cffe31663670 100644 (file)
@@ -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