From df5cdc11123a35065bbf1636251447d0bfe789a5 Mon Sep 17 00:00:00 2001 From: Emmanuel Arias Date: Fri, 22 Feb 2019 14:34:41 -0300 Subject: [PATCH] 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 --- Doc/library/asyncio-eventloop.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index acf9477f72..8d157fd5f5 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -1394,8 +1394,7 @@ Do not instantiate the class directly. .. attribute:: sockets - List of :class:`socket.socket` objects the server is listening on, - or ``None`` if the server is closed. + List of :class:`socket.socket` objects the server is listening on. .. versionchanged:: 3.7 Prior to Python 3.7 ``Server.sockets`` used to return an -- 2.40.0