Make BytesIO inherit from BufferedIOBase. (#4082)

Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Tarcisio
2020-05-28 17:07:00 -07:00
committed by GitHub
parent b2b397c5ce
commit b58b8f3b43
6 changed files with 15 additions and 40 deletions

View File

@@ -92,7 +92,7 @@ class LZMAFile(io.BufferedIOBase, IO[bytes]):
def peek(self, size: int = ...) -> bytes: ...
def read(self, size: Optional[int] = ...) -> bytes: ...
def read1(self, size: int = ...) -> bytes: ...
def readline(self, size: int = ...) -> bytes: ...
def readline(self, size: Optional[int] = ...) -> bytes: ...
def write(self, data: bytes) -> int: ...
def seek(self, offset: int, whence: int = ...) -> int: ...
def tell(self) -> int: ...