summaryrefslogtreecommitdiff
path: root/Doc/library/asyncio-stream.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/asyncio-stream.rst')
-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 f2a9f1268e..27aae32d0f 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()