diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-24 17:47:26 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-24 17:47:26 (GMT) |
commit | 62f8eccdbf24d420fbfee538ed14a3b12684d7f1 (patch) | |
tree | fa68928344899f00f84a1be786861267e4dd30f6 /Doc/library/asyncio-stream.rst | |
parent | 8c462c5a8027737244cb6654462eb3725e885cc4 (diff) | |
download | cpython-62f8eccdbf24d420fbfee538ed14a3b12684d7f1.zip cpython-62f8eccdbf24d420fbfee538ed14a3b12684d7f1.tar.gz cpython-62f8eccdbf24d420fbfee538ed14a3b12684d7f1.tar.bz2 |
asyncio doc: document StreamWriter.drain()
Diffstat (limited to 'Doc/library/asyncio-stream.rst')
-rw-r--r-- | Doc/library/asyncio-stream.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index f2a9f12..27aae32 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -126,9 +126,9 @@ StreamWriter .. method:: drain() - This method has an unusual return value. + Wait until the write buffer of the underlying transport is flushed. - The intended use is to write:: + This method has an unusual return value. The intended use is to write:: w.write(data) yield from w.drain() |