diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 9d18baf8ad5..f557df3bc55 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: