Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Doc/library/asyncio-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion Lib/asyncio/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down