]> granicus.if.org Git - python/commitdiff
bpo-36074: Result of `asyncio.Server.sockets` after `Server.close()` after is not...
authorEmmanuel Arias <emmanuelarias30@gmail.com>
Fri, 22 Feb 2019 17:34:41 +0000 (14:34 -0300)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Feb 2019 17:34:41 +0000 (09:34 -0800)
[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

index acf9477f723d4422d9e0edd58edcfae0f8d2cd5d..8d157fd5f599ae923e535bc2e42bcdf15a11fb81 100644 (file)
@@ -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