From: Serhiy Storchaka Date: Fri, 13 Jan 2023 08:15:23 +0000 (+0200) Subject: [3.11] gh-100160: Tweak the documentation for the default asyncio policy (GH-100969) X-Git-Tag: v3.11.2~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2834fdc689f52edba3ea1f9b2ee85fc33fc9e097;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-100160: Tweak the documentation for the default asyncio policy (GH-100969) --- diff --git a/Doc/library/asyncio-policy.rst b/Doc/library/asyncio-policy.rst index eb043b3e5e7f..f846f76ca095 100644 --- a/Doc/library/asyncio-policy.rst +++ b/Doc/library/asyncio-policy.rst @@ -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.