From: Victor Stinner Date: Sat, 8 Feb 2014 21:50:07 +0000 (+0100) Subject: asyncio doc: sort methods X-Git-Tag: v3.4.0rc1~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffbe3c67dfa405437525ef256935b328dbf61f2d;p=thirdparty%2FPython%2Fcpython.git asyncio doc: sort methods --- diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 9d18baf8ad57..f557df3bc557 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: