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

Skip to content

Commit 2ebd6fe

Browse files
committed
Issue #28088: Don't include self in method signature
Also update versionadded directive to 3.5.3.
1 parent db87c99 commit 2ebd6fe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/asyncio-protocol.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,18 +87,18 @@ BaseTransport
8787

8888
- ``'subprocess'``: :class:`subprocess.Popen` instance
8989

90-
.. method:: set_protocol(self, protocol)
90+
.. method:: set_protocol(protocol)
9191

9292
Set a new protocol. Switching protocol should only be done when both
9393
protocols are documented to support the switch.
9494

95-
.. versionadded:: 3.6.0
95+
.. versionadded:: 3.5.3
9696

97-
.. method:: get_protocol(self)
97+
.. method:: get_protocol
9898

9999
Return the current protocol.
100100

101-
.. versionadded:: 3.6.0
101+
.. versionadded:: 3.5.3
102102

103103
.. versionchanged:: 3.5.1
104104
``'ssl_object'`` info was added to SSL sockets.

0 commit comments

Comments
 (0)