Skip to content

Commit 1e1f4e9

Browse files
authored
gh-106882: Note that asyncio.Server is only publicly exposed on 3.11+ (#106901)
And later versions of 3.10, 3.9
1 parent c6c5665 commit 1e1f4e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,6 +1593,9 @@ Do not instantiate the :class:`Server` class directly.
15931593
.. versionchanged:: 3.7
15941594
Server object is an asynchronous context manager since Python 3.7.
15951595

1596+
.. versionchanged:: 3.11
1597+
This class was exposed publicly as ``asyncio.Server`` in Python 3.9.11, 3.10.3 and 3.11.
1598+
15961599
.. method:: close()
15971600

15981601
Stop serving: close listening sockets and set the :attr:`sockets`

0 commit comments

Comments
 (0)