]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (31327)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Feb 2022 17:08:24 +0000 (09:08 -0800)
committerGitHub <noreply@github.com>
Tue, 15 Feb 2022 17:08:24 +0000 (09:08 -0800)
The docstring for `BufferedProtocol` states that the class is still an "experimental API", but it has been considered stable since 3.8.
(cherry picked from commit 1d81fdc4c004511c25f74db0e04ddbbb8a04ce6d)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/asyncio/protocols.py

index 69fa43e8b6511a9599f467eb522e03e6a72e4862..09987b164c66e57f8bd12190899a86947cd065b6 100644 (file)
@@ -109,10 +109,6 @@ class Protocol(BaseProtocol):
 class BufferedProtocol(BaseProtocol):
     """Interface for stream protocol with manual buffer control.
 
-    Important: this has been added to 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.
-
     Event methods, such as `create_server` and `create_connection`,
     accept factories that return protocols that implement this interface.