mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs
This commit is contained in:
parent
4a18b35dbd
commit
e319ab01ce
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue