From 9a32f0d26a32ecef457a6a7b98ae814e07b05ee7 Mon Sep 17 00:00:00 2001 From: cshesse <48501609+cshesse@users.noreply.github.com> Date: Tue, 3 Dec 2019 23:20:07 -0800 Subject: [PATCH] add raw property to BufferedIOBase (#3483) --- stdlib/3/io.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3/io.pyi b/stdlib/3/io.pyi index ee595f3f6..d835219dd 100644 --- a/stdlib/3/io.pyi +++ b/stdlib/3/io.pyi @@ -53,6 +53,7 @@ class RawIOBase(IOBase): def read(self, size: int = ...) -> Optional[bytes]: ... class BufferedIOBase(IOBase): + raw: RawIOBase # This is not part of the BufferedIOBase API and may not exist on some implementations. def detach(self) -> RawIOBase: ... def readinto(self, b: _bytearray_like) -> int: ... def write(self, b: Union[bytes, bytearray]) -> int: ...