diff options
author | Rémi Lapeyre <remi.lapeyre@lenstra.fr> | 2020-07-02 03:41:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 03:41:21 (GMT) |
commit | 004e64e8059fe68a72890314673282f2e60d5ce1 (patch) | |
tree | 02729d1a0324f5ccfbdea2d667cc2ec348c5a156 /Doc/library | |
parent | 666ecfb0957a2fa0df5e2bd03804195de74bdfbf (diff) | |
download | cpython-004e64e8059fe68a72890314673282f2e60d5ce1.zip cpython-004e64e8059fe68a72890314673282f2e60d5ce1.tar.gz cpython-004e64e8059fe68a72890314673282f2e60d5ce1.tar.bz2 |
bpo-40967: Remove deprecated asyncio.Task.current_task() and asyncio.Task.all_tasks() (GH-20874)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-task.rst | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 21824ca..bac99b7 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -962,31 +962,6 @@ Task Object .. versionadded:: 3.8 - .. classmethod:: all_tasks(loop=None) - - Return a set of all tasks for an event loop. - - By default all tasks for the current event loop are returned. - If *loop* is ``None``, the :func:`get_event_loop` function - is used to get the current loop. - - .. deprecated-removed:: 3.7 3.9 - - Do not call this as a task method. Use the :func:`asyncio.all_tasks` - function instead. - - .. classmethod:: current_task(loop=None) - - Return the currently running task or ``None``. - - If *loop* is ``None``, the :func:`get_event_loop` function - is used to get the current loop. - - .. deprecated-removed:: 3.7 3.9 - - Do not call this as a task method. Use the - :func:`asyncio.current_task` function instead. - .. _asyncio_generator_based_coro: |