We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c5a312 commit c750adbCopy full SHA for c750adb
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
@@ -271,6 +271,11 @@ Creating Tasks
271
task = asyncio.ensure_future(coro())
272
...
273
274
+ .. important::
275
276
277
278
279
.. versionadded:: 3.7
280
281
.. versionchanged:: 3.8
0 commit comments