Skip to content

Commit df5cdc1

Browse files
eamanumiss-islington
authored andcommitted
bpo-36074: Result of asyncio.Server.sockets after Server.close() after is not clear (GH-11987)
[bpo-36074](https://bugs.python.org/issue36074): It becomes clear on that the None is still return for server closed. https://bugs.python.org/issue36074
1 parent a40681d commit df5cdc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,8 +1394,7 @@ Do not instantiate the class directly.
13941394

13951395
.. attribute:: sockets
13961396

1397-
List of :class:`socket.socket` objects the server is listening on,
1398-
or ``None`` if the server is closed.
1397+
List of :class:`socket.socket` objects the server is listening on.
13991398

14001399
.. versionchanged:: 3.7
14011400
Prior to Python 3.7 ``Server.sockets`` used to return an

0 commit comments

Comments
 (0)