]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ (#106901)
authorJack Nelson <jack@jacknelson.xyz>
Wed, 19 Jul 2023 19:56:26 +0000 (15:56 -0400)
committerGitHub <noreply@github.com>
Wed, 19 Jul 2023 19:56:26 +0000 (20:56 +0100)
And later versions of 3.10, 3.9

Doc/library/asyncio-eventloop.rst

index 38f2e2f510c1767193426a105773d16bdff9a602..1ef8a5ab832e47fa41a152d7e7719350d18ac8cc 100644 (file)
@@ -1593,6 +1593,9 @@ Do not instantiate the :class:`Server` class directly.
    .. versionchanged:: 3.7
       Server object is an asynchronous context manager since Python 3.7.
 
+   .. versionchanged:: 3.11
+      This class was exposed publicly as ``asyncio.Server`` in Python 3.9.11, 3.10.3 and 3.11.
+
    .. method:: close()
 
       Stop serving: close listening sockets and set the :attr:`sockets`