Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4b8eb7b8
Commit
4b8eb7b8
authored
Nov 04, 2016
by
INADA Naoki
Browse files
Options
Browse Files
Download
Plain Diff
Issue #28088: Document Transport.set_protocol and get_protocol.
Patch by Mariatta Wijaya.
parents
1d8f755e
1ea023e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Doc/library/asyncio-protocol.rst
Doc/library/asyncio-protocol.rst
+13
-0
No files found.
Doc/library/asyncio-protocol.rst
View file @
4b8eb7b8
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment