[3.11] gh-100160: Tweak the documentation for the default asyncio policy (GH-100969)

This commit is contained in:
Serhiy Storchaka 2023-01-13 10:15:23 +02:00 committed by GitHub
parent 55a26de6ba
commit 2834fdc689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -113,9 +113,9 @@ asyncio ships with the following built-in policies:
On Windows, :class:`ProactorEventLoop` is now used by default.
.. note::
In Python versions 3.10.9, 3.11.1 and 3.12 this function emits a
:exc:`DeprecationWarning` if there is no running event loop and no
current loop is set.
In Python versions 3.10.9, 3.11.1 and 3.12 the :meth:`get_event_loop`
method of the default asyncio policy emits a :exc:`DeprecationWarning`
if there is no running event loop and no current loop is set.
In some future Python release this will become an error.