diff options
author | Hendrik Makait <hendrik.makait@gmail.com> | 2022-09-10 14:34:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-10 14:34:14 (GMT) |
commit | 6281affee6423296893b509cd78dc563ca58b196 (patch) | |
tree | be2b0090e709734cbfbdf85e0415773254ba2375 /Doc/library/asyncio-future.rst | |
parent | 50a70a083d34305a52fac4f5901bff2ead152d68 (diff) | |
download | cpython-6281affee6423296893b509cd78dc563ca58b196.zip cpython-6281affee6423296893b509cd78dc563ca58b196.tar.gz cpython-6281affee6423296893b509cd78dc563ca58b196.tar.bz2 |
gh-94972: document that shield users need to keep a reference to their task (#96724)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Diffstat (limited to 'Doc/library/asyncio-future.rst')
-rw-r--r-- | Doc/library/asyncio-future.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-future.rst b/Doc/library/asyncio-future.rst index f74f2e6..99a5d3a 100644 --- a/Doc/library/asyncio-future.rst +++ b/Doc/library/asyncio-future.rst @@ -55,7 +55,7 @@ Future Functions preferred way for creating new Tasks. Save a reference to the result of this function, to avoid - a task disappearing mid execution. + a task disappearing mid-execution. .. versionchanged:: 3.5.1 The function accepts any :term:`awaitable` object. |