mirror of https://github.com/python/cpython.git
[3.11] gh-100160: Tweak the documentation for the default asyncio policy (GH-100969)
This commit is contained in:
parent
55a26de6ba
commit
2834fdc689
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue