Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 6 Doc/library/asyncio-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ BaseTransport

Base class for transports.

.. method:: close(self)
.. method:: close()

Close the transport. If the transport has a buffer for outgoing
data, buffered data will be flushed asynchronously. No more data
will be received. After all buffered data is flushed, the
protocol's :meth:`connection_lost` method will be called with
:const:`None` as its argument.

.. method:: is_closing(self)
.. method:: is_closing()

Return ``True`` if the transport is closing or is closed.

Expand Down Expand Up @@ -248,7 +248,7 @@ BaseSubprocessTransport
if it hasn't returned, similarly to the
:attr:`subprocess.Popen.returncode` attribute.

.. method:: kill(self)
.. method:: kill()

Kill the subprocess, as in :meth:`subprocess.Popen.kill`.

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.