From e319ab01cee6aa4675cac418d5f5900e5537f66e Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 15 Dec 2015 00:45:24 -0500 Subject: docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs --- Doc/library/asyncio-task.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 051ae09..28f3757 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -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 -- cgit v0.12