Skip to content

Commit

Permalink
gh-106882: Note that asyncio.Server is only publicly exposed on 3.1…
Browse files Browse the repository at this point in the history
…1+ (GH-106901)

And later versions of 3.10, 3.9
(cherry picked from commit 1e1f4e9)

Co-authored-by: Jack Nelson <[email protected]>
  • Loading branch information
jack60612 authored and miss-islington committed Jul 19, 2023
1 parent fced79f commit 1e4cc54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/library/asyncio-eventloop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,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`
Expand Down

0 comments on commit 1e4cc54

Please sign in to comment.