Add sockets attribute to asyncio.events.AbstractServer (#2364)

This commit is contained in:
Yusuke Miyazaki
2018-08-08 02:03:14 +09:00
committed by Jelle Zijlstra
parent 92a697cabd
commit 9a01b817f7

View File

@@ -34,6 +34,7 @@ class TimerHandle(Handle):
def __hash__(self) -> int: ...
class AbstractServer:
sockets: Optional[List[socket]]
def close(self) -> None: ...
@coroutine
def wait_closed(self) -> Generator[Any, None, None]: ...