From cc0ffb16484c7e76d5c38dae9e5ea7ab71252fa5 Mon Sep 17 00:00:00 2001 From: Shantanu Date: Wed, 13 May 2020 19:08:47 -0700 Subject: [PATCH] asyncio.protocols: BufferedProtocol inherits from BaseProtocol (#3989) Co-authored-by: hauntsaninja <> --- stdlib/3/asyncio/protocols.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/asyncio/protocols.pyi b/stdlib/3/asyncio/protocols.pyi index 0fa75a507..2c11849a3 100644 --- a/stdlib/3/asyncio/protocols.pyi +++ b/stdlib/3/asyncio/protocols.pyi @@ -11,7 +11,7 @@ class Protocol(BaseProtocol): def data_received(self, data: bytes) -> None: ... def eof_received(self) -> Optional[bool]: ... -class BufferedProtocol(Protocol): +class BufferedProtocol(BaseProtocol): def get_buffer(self, sizehint: int) -> bytearray: ... def buffer_updated(self, nbytes: int) -> None: ...