Issue #28088: Don't include self in method signature
authorBerker Peksag <berker.peksag@gmail.com>
Mon, 7 Nov 2016 20:36:14 +0000 (23:36 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Mon, 7 Nov 2016 20:36:14 +0000 (23:36 +0300)
Also update versionadded directive to 3.5.3.

Doc/library/asyncio-protocol.rst

index 873f8bbc90a46c9cfc0bf96c2e56de6bfc72132a..c0342f7f2f3ddcc5f363321452be1bc6d842df35 100644 (file)
@@ -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.