summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorKumar Aditya <kumaraditya@python.org>2024-12-18 06:05:29 (GMT)
committerGitHub <noreply@github.com>2024-12-18 06:05:29 (GMT)
commit5892853fb71acd6530e1e241a9a4bcf71a61fb21 (patch)
treebd17e169dbcf0d0e290b5208886da38baae675b1 /Doc/library
parent559b0e7013f9cbf42a12fe9c86048d5cbb2f6f22 (diff)
downloadcpython-5892853fb71acd6530e1e241a9a4bcf71a61fb21.zip
cpython-5892853fb71acd6530e1e241a9a4bcf71a61fb21.tar.gz
cpython-5892853fb71acd6530e1e241a9a4bcf71a61fb21.tar.bz2
gh-127949: deprecate `asyncio.set_event_loop_policy` (#128024)
First step towards deprecating the asyncio policy system. This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-policy.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncio-policy.rst b/Doc/library/asyncio-policy.rst
index 09b7576..e8e470c 100644
--- a/Doc/library/asyncio-policy.rst
+++ b/Doc/library/asyncio-policy.rst
@@ -46,6 +46,10 @@ for the current process:
If *policy* is set to ``None``, the default policy is restored.
+ .. deprecated:: next
+ The :func:`set_event_loop_policy` function is deprecated and
+ will be removed in Python 3.16.
+
.. _asyncio-policy-objects: