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 authored and Guido van Rossum committed 2017-01-29 11:33:35 -08:00
1 parent 2d46679da8
commit 66bc746bb3
1 file changed
+1
+1
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: