From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 15 Feb 2022 17:08:24 +0000 (-0800) Subject: bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (31327) X-Git-Tag: v3.9.11~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c292118ef3528df85a9d76ad21029009b560b088;p=thirdparty%2FPython%2Fcpython.git bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (31327) 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 --- diff --git a/Lib/asyncio/protocols.py b/Lib/asyncio/protocols.py index 69fa43e8b651..09987b164c66 100644 --- a/Lib/asyncio/protocols.py +++ b/Lib/asyncio/protocols.py @@ -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.