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
07627e9a
Commit
07627e9a
authored
Jan 28, 2018
by
Yury Selivanov
Committed by
GitHub
Jan 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-32251: Fix docs (#5408)
parent
9ee1bf9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Doc/library/asyncio-protocol.rst
Doc/library/asyncio-protocol.rst
+3
-2
Lib/asyncio/protocols.py
Lib/asyncio/protocols.py
+1
-1
No files found.
Doc/library/asyncio-protocol.rst
View file @
07627e9a
...
...
@@ -451,7 +451,7 @@ Streaming protocols with manual receive buffer control
.. versionadded:: 3.7
**Important:** :class:`BufferedProtocol` has been been added to
asyncio in Python 3.7 *on a provisional basis*!
Treat
it as an
asyncio in Python 3.7 *on a provisional basis*!
Consider
it as an
experimental API that might be changed or removed in Python 3.8.
...
...
@@ -487,7 +487,8 @@ instances:
:meth:`get_buffer` can be called an arbitrary number of times during
a connection. However, :meth:`eof_received` is called at most once
and, if called, :meth:`data_received` won't be called after it.
and, if called, :meth:`get_buffer` and :meth:`buffer_updated`
won't be called after it.
State machine:
...
...
Lib/asyncio/protocols.py
View file @
07627e9a
...
...
@@ -106,7 +106,7 @@ class BufferedProtocol(BaseProtocol):
"""Interface for stream protocol with manual buffer control.
Important: this has been been added to asyncio in Python 3.7
*on a provisional basis*!
Treat
it as an experimental API that
*on a provisional basis*!
Consider
it as an experimental API that
might be changed or removed in Python 3.8.
Event methods, such as `create_server` and `create_connection`,
...
...
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