Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e319ab0

Browse files
committed
docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs
1 parent 4a18b35 commit e319ab0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Doc/library/asyncio-task.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,9 @@ Task functions
539539

540540
.. versionadded:: 3.4.4
541541

542+
.. versionchanged:: 3.5.1
543+
The function accepts any :term:`awaitable` object.
544+
542545
.. seealso::
543546

544547
The :meth:`BaseEventLoop.create_task` method.
@@ -721,4 +724,4 @@ Task functions
721724
Unlike the functions above, :func:`run_coroutine_threadsafe` requires the
722725
*loop* argument to be passed explicitely.
723726

724-
.. versionadded:: 3.4.4, 3.5.1
727+
.. versionadded:: 3.5.1

0 commit comments

Comments
 (0)