mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
asyncio doc: sort methods
This commit is contained in:
parent
0c1e31ab1e
commit
ffbe3c67df
1 changed files with 5 additions and 5 deletions
|
@ -123,6 +123,11 @@ StreamWriter
|
||||||
|
|
||||||
Transport.
|
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()
|
.. method:: close()
|
||||||
|
|
||||||
Close the transport: see :meth:`BaseTransport.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:
|
Write a list (or any iterable) of data bytes to the transport:
|
||||||
see :meth:`WriteTransport.writelines`.
|
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()
|
.. method:: write_eof()
|
||||||
|
|
||||||
Close the write end of the transport after flushing buffered data:
|
Close the write end of the transport after flushing buffered data:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue