From: Emmanuel Arias Date: Fri, 22 Feb 2019 17:34:41 +0000 (-0300) Subject: bpo-36074: Result of `asyncio.Server.sockets` after `Server.close()` after is not... X-Git-Tag: v3.8.0a2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df5cdc11123a35065bbf1636251447d0bfe789a5;p=python 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 --- 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