mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
add raw property to BufferedIOBase (#3483)
This commit is contained in:
committed by
Sebastian Rittau
parent
86775c803e
commit
9a32f0d26a
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user