[Python-checkins] cpython: asyncio doc: document StreamWriter.drain()
victor.stinner
python-checkins at python.org
Fri Jan 24 18:47:34 CET 2014
http://hg.python.org/cpython/rev/1975d7d87c48
changeset: 88675:1975d7d87c48
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Jan 24 18:47:26 2014 +0100
summary:
asyncio doc: document StreamWriter.drain()
files:
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
--- a/Doc/library/asyncio-stream.rst
+++ b/Doc/library/asyncio-stream.rst
@@ -126,9 +126,9 @@
.. 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()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list