summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-08 21:50:07 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-08 21:50:07 (GMT)
commitffbe3c67dfa405437525ef256935b328dbf61f2d (patch)
treefbf1827f0f8972d280b0af0872d51102a2193d23 /Doc
parent0c1e31ab1ecc6a5b6662fad62e0ede1019741f6a (diff)
downloadcpython-ffbe3c67dfa405437525ef256935b328dbf61f2d.zip
cpython-ffbe3c67dfa405437525ef256935b328dbf61f2d.tar.gz
cpython-ffbe3c67dfa405437525ef256935b328dbf61f2d.tar.bz2
asyncio doc: sort methods
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-stream.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst
index 9d18baf..f557df3 100644
--- a/Doc/library/asyncio-stream.rst
+++ b/Doc/library/asyncio-stream.rst
@@ -123,6 +123,11 @@ StreamWriter
Transport.
+ .. method:: can_write_eof()
+
+ Return :const:`True` if the transport supports :meth:`write_eof`,
+ :const:`False` if not. See :meth:`WriteTransport.can_write_eof`.
+
.. method:: close()
Close the transport: see :meth:`BaseTransport.close`.
@@ -158,11 +163,6 @@ StreamWriter
Write a list (or any iterable) of data bytes to the transport:
see :meth:`WriteTransport.writelines`.
- .. method:: can_write_eof()
-
- Return :const:`True` if the transport supports :meth:`write_eof`,
- :const:`False` if not. See :meth:`WriteTransport.can_write_eof`.
-
.. method:: write_eof()
Close the write end of the transport after flushing buffered data: