diff options
author | Kumar Aditya <kumaraditya@python.org> | 2024-12-18 12:34:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 12:34:20 (GMT) |
commit | dbd08fb60d1c434ebb6009d28d2b97f90e011032 (patch) | |
tree | 4919c52b32f03506b99c9f73f05c8acd2098a2ff /Doc/library | |
parent | bad3cdefa840ff099e5e08cf88dcf6dfed7d37b8 (diff) | |
download | cpython-dbd08fb60d1c434ebb6009d28d2b97f90e011032.zip cpython-dbd08fb60d1c434ebb6009d28d2b97f90e011032.tar.gz cpython-dbd08fb60d1c434ebb6009d28d2b97f90e011032.tar.bz2 |
gh-127949: deprecate `asyncio.get_event_loop_policy` (#128053)
This deprecates `asyncio.get_event_loop_policy` and will be removed in Python 3.16.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-policy.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncio-policy.rst b/Doc/library/asyncio-policy.rst index e8e470c..2d05c3a 100644 --- a/Doc/library/asyncio-policy.rst +++ b/Doc/library/asyncio-policy.rst @@ -40,6 +40,10 @@ for the current process: Return the current process-wide policy. + .. deprecated:: next + The :func:`get_event_loop_policy` function is deprecated and + will be removed in Python 3.16. + .. function:: set_event_loop_policy(policy) Set the current process-wide policy to *policy*. |