Commit e319ab01 authored by Yury Selivanov's avatar Yury Selivanov

docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs

parent 4a18b35d
...@@ -539,6 +539,9 @@ Task functions ...@@ -539,6 +539,9 @@ Task functions
.. versionadded:: 3.4.4 .. versionadded:: 3.4.4
.. versionchanged:: 3.5.1
The function accepts any :term:`awaitable` object.
.. seealso:: .. seealso::
The :meth:`BaseEventLoop.create_task` method. The :meth:`BaseEventLoop.create_task` method.
...@@ -721,4 +724,4 @@ Task functions ...@@ -721,4 +724,4 @@ Task functions
Unlike the functions above, :func:`run_coroutine_threadsafe` requires the Unlike the functions above, :func:`run_coroutine_threadsafe` requires the
*loop* argument to be passed explicitely. *loop* argument to be passed explicitely.
.. versionadded:: 3.4.4, 3.5.1 .. versionadded:: 3.5.1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment