We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a40d066 commit fd206b6Copy full SHA for fd206b6
Doc/library/asyncio-future.rst
@@ -54,6 +54,9 @@ Future Functions
54
See also the :func:`create_task` function which is the
55
preferred way for creating new Tasks.
56
57
+ Save a reference to the result of this function, to avoid
58
+ a task disappearing mid execution.
59
+
60
.. versionchanged:: 3.5.1
61
The function accepts any :term:`awaitable` object.
62
Doc/library/asyncio-task.rst
@@ -274,6 +274,11 @@ Creating Tasks
274
task = asyncio.ensure_future(coro())
275
...
276
277
+ .. important::
278
279
280
281
282
.. versionadded:: 3.7
283
284
.. versionchanged:: 3.8
0 commit comments