diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2017-02-27 13:44:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-27 13:44:15 (GMT) |
commit | 091b84f23a2ff57e8320ebf6fdf889af39096ab9 (patch) | |
tree | 6f01d68833655a4ee83c829cc693b97088985cf6 | |
parent | f669ffff6010a94f2d441200e0fd73e9dea2883e (diff) | |
download | cpython-091b84f23a2ff57e8320ebf6fdf889af39096ab9.zip cpython-091b84f23a2ff57e8320ebf6fdf889af39096ab9.tar.gz cpython-091b84f23a2ff57e8320ebf6fdf889af39096ab9.tar.bz2 |
Asyncio documentation: remove `self` from method signatures (GH-334)
-rw-r--r-- | Doc/library/asyncio-protocol.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index 3fbf510..482ffbb 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -36,7 +36,7 @@ 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 @@ -44,7 +44,7 @@ BaseTransport 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. @@ -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`. |