summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-02-27 14:01:59 (GMT)
committerGitHub <noreply@github.com>2017-02-27 14:01:59 (GMT)
commitb945e0784f8b64f9dba41c47844cadf483168a0f (patch)
tree894cb5d42b4f2c0b1b1d413c966549e08560858b /Doc/library
parent8400ae209b5fa3d3bdc39d3876eef13d1ea9a72a (diff)
downloadcpython-b945e0784f8b64f9dba41c47844cadf483168a0f.zip
cpython-b945e0784f8b64f9dba41c47844cadf483168a0f.tar.gz
cpython-b945e0784f8b64f9dba41c47844cadf483168a0f.tar.bz2
Asyncio documentation: remove `self` from method signatures (GH-334) (GH-336)
(cherry picked from commit 091b84f23a2ff57e8320ebf6fdf889af39096ab9)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-protocol.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index c0342f7..e0d2b0f 100644
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -33,7 +33,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
@@ -41,7 +41,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.
@@ -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`.