Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5d590a0

Browse files
committedJan 29, 2018
bpo-32251: Fix docs
1 parent 9ee1bf9 commit 5d590a0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎Doc/library/asyncio-protocol.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ Streaming protocols with manual receive buffer control
451451

452452
.. versionadded:: 3.7
453453
**Important:** :class:`BufferedProtocol` has been been added to
454-
asyncio in Python 3.7 *on a provisional basis*! Treat it as an
454+
asyncio in Python 3.7 *on a provisional basis*! Consider it as an
455455
experimental API that might be changed or removed in Python 3.8.
456456

457457

@@ -487,7 +487,8 @@ instances:
487487

488488
:meth:`get_buffer` can be called an arbitrary number of times during
489489
a connection. However, :meth:`eof_received` is called at most once
490-
and, if called, :meth:`data_received` won't be called after it.
490+
and, if called, :meth:`get_buffer` and :meth:`buffer_updated`
491+
won't be called after it.
491492

492493
State machine:
493494

‎Lib/asyncio/protocols.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class BufferedProtocol(BaseProtocol):
106106
"""Interface for stream protocol with manual buffer control.
107107
108108
Important: this has been been added to asyncio in Python 3.7
109-
*on a provisional basis*! Treat it as an experimental API that
109+
*on a provisional basis*! Consider it as an experimental API that
110110
might be changed or removed in Python 3.8.
111111
112112
Event methods, such as `create_server` and `create_connection`,

0 commit comments

Comments
 (0)
Please sign in to comment.