mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
StreamWriter.drain is a coroutine (#880)
See https://docs.python.org/3/library/asyncio-stream.html#asyncio.StreamWriter.drain
This commit is contained in:
committed by
Guido van Rossum
parent
2d46679da8
commit
66bc746bb3
@@ -83,6 +83,7 @@ class StreamWriter:
|
||||
def can_write_eof(self) -> bool: ...
|
||||
def close(self) -> None: ...
|
||||
def get_extra_info(self, name: str, default: Any = ...) -> Any: ...
|
||||
@coroutines.coroutine
|
||||
def drain(self) -> None: ...
|
||||
|
||||
class StreamReader:
|
||||
|
||||
Reference in New Issue
Block a user