gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ (GH-106901)
And later versions of 3.10, 3.9
(cherry picked from commit
1e1f4e91a905bab3103250a3ceadac0693b926d9)
Co-authored-by: Jack Nelson <jack@jacknelson.xyz>
.. 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`