diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-stream.rst | 10 |
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: |