summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-11-07 20:36:14 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-11-07 20:36:14 (GMT)
commit2ebd6feeaecbcd82ec206df9c3a2d248b30b3c40 (patch)
treec4225fa480ec0cb0634ae06951a0bc559afba55e /Doc
parentdb87c99444315b4421da6d27dc666dd028146777 (diff)
downloadcpython-2ebd6feeaecbcd82ec206df9c3a2d248b30b3c40.zip
cpython-2ebd6feeaecbcd82ec206df9c3a2d248b30b3c40.tar.gz
cpython-2ebd6feeaecbcd82ec206df9c3a2d248b30b3c40.tar.bz2
Issue #28088: Don't include self in method signature
Also update versionadded directive to 3.5.3.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-protocol.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index 873f8bb..c0342f7 100644
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -87,18 +87,18 @@ BaseTransport
- ``'subprocess'``: :class:`subprocess.Popen` instance
- .. method:: set_protocol(self, protocol)
+ .. method:: set_protocol(protocol)
Set a new protocol. Switching protocol should only be done when both
protocols are documented to support the switch.
- .. versionadded:: 3.6.0
+ .. versionadded:: 3.5.3
- .. method:: get_protocol(self)
+ .. method:: get_protocol
Return the current protocol.
- .. versionadded:: 3.6.0
+ .. versionadded:: 3.5.3
.. versionchanged:: 3.5.1
``'ssl_object'`` info was added to SSL sockets.