summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-24 17:47:26 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-24 17:47:26 (GMT)
commit62f8eccdbf24d420fbfee538ed14a3b12684d7f1 (patch)
treefa68928344899f00f84a1be786861267e4dd30f6 /Doc/library
parent8c462c5a8027737244cb6654462eb3725e885cc4 (diff)
downloadcpython-62f8eccdbf24d420fbfee538ed14a3b12684d7f1.zip
cpython-62f8eccdbf24d420fbfee538ed14a3b12684d7f1.tar.gz
cpython-62f8eccdbf24d420fbfee538ed14a3b12684d7f1.tar.bz2
asyncio doc: document StreamWriter.drain()
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-stream.rst4
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()