Commit 1ea023e5 authored by INADA Naoki's avatar INADA Naoki

Issue #28088: Document Transport.set_protocol and get_protocol

parent c5420492
......@@ -87,6 +87,19 @@ BaseTransport
- ``'subprocess'``: :class:`subprocess.Popen` instance
.. method:: set_protocol(self, protocol)
Set a new protocol. Switching protocol should only be done when both
protocols are documented to support the switch.
.. versionadded:: 3.6.0
.. method:: get_protocol(self)
Return the current protocol.
.. versionadded:: 3.6.0
.. versionchanged:: 3.5.1
``'ssl_object'`` info was added to SSL sockets.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment