Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[3.6] Asyncio documentation: remove self from method signatures (GH-334) #337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2017
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 Doc/library/asyncio-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,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 @@ -251,7 +251,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