From 66bc746bb33e89adfb9ac5d51a85c10b448fa082 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 29 Jan 2017 11:33:35 -0800 Subject: [PATCH] StreamWriter.drain is a coroutine (#880) See https://docs.python.org/3/library/asyncio-stream.html#asyncio.StreamWriter.drain --- stdlib/3.4/asyncio/streams.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3.4/asyncio/streams.pyi b/stdlib/3.4/asyncio/streams.pyi index ed2030331..ee46a87b5 100644 --- a/stdlib/3.4/asyncio/streams.pyi +++ b/stdlib/3.4/asyncio/streams.pyi @@ -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: