Skip to content

Commit 2834fdc

Browse files
[3.11] gh-100160: Tweak the documentation for the default asyncio policy (GH-100969)
1 parent 55a26de commit 2834fdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/asyncio-policy.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ asyncio ships with the following built-in policies:
113113
On Windows, :class:`ProactorEventLoop` is now used by default.
114114

115115
.. note::
116-
In Python versions 3.10.9, 3.11.1 and 3.12 this function emits a
117-
:exc:`DeprecationWarning` if there is no running event loop and no
118-
current loop is set.
116+
In Python versions 3.10.9, 3.11.1 and 3.12 the :meth:`get_event_loop`
117+
method of the default asyncio policy emits a :exc:`DeprecationWarning`
118+
if there is no running event loop and no current loop is set.
119119
In some future Python release this will become an error.
120120

121121

0 commit comments

Comments
 (0)