summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-policy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/asyncio-policy.rst')
-rw-r--r--Doc/library/asyncio-policy.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/Doc/library/asyncio-policy.rst b/Doc/library/asyncio-policy.rst
index 837ccc6..09b7576 100644
--- a/Doc/library/asyncio-policy.rst
+++ b/Doc/library/asyncio-policy.rst
@@ -97,11 +97,9 @@ asyncio ships with the following built-in policies:
On Windows, :class:`ProactorEventLoop` is now used by default.
- .. deprecated:: 3.12
- The :meth:`get_event_loop` method of the default asyncio policy now emits
- a :exc:`DeprecationWarning` if there is no current event loop set and it
- decides to create one.
- In some future Python release this will become an error.
+ .. versionchanged:: 3.14
+ The :meth:`get_event_loop` method of the default asyncio policy now
+ raises a :exc:`RuntimeError` if there is no set event loop.
.. class:: WindowsSelectorEventLoopPolicy