]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (31327)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Tue, 15 Feb 2022 16:39:28 +0000 (16:39 +0000)
committerGitHub <noreply@github.com>
Tue, 15 Feb 2022 16:39:28 +0000 (18:39 +0200)
The docstring for `BufferedProtocol` states that the class is still an "experimental API", but it has been considered stable since 3.8.

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.