mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
Add sockets attribute to asyncio.events.AbstractServer (#2364)
This commit is contained in:
committed by
Jelle Zijlstra
parent
92a697cabd
commit
9a01b817f7
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user