StreamWriter.drain is a coroutine (#880)

See https://docs.python.org/3/library/asyncio-stream.html#asyncio.StreamWriter.drain
This commit is contained in:
Jelle Zijlstra
2017-01-29 11:33:35 -08:00
committed by Guido van Rossum
parent 2d46679da8
commit 66bc746bb3

View File

@@ -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: