mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-27 22:31:12 +08:00
@@ -56,8 +56,7 @@ class BufferedIOBase(IOBase):
|
||||
def detach(self) -> RawIOBase: ...
|
||||
def readinto(self, b: _bytearray_like) -> int: ...
|
||||
def write(self, b: Union[bytes, bytearray]) -> int: ...
|
||||
if sys.version_info >= (3, 5):
|
||||
def readinto1(self, b: _bytearray_like) -> int: ...
|
||||
def readinto1(self, b: _bytearray_like) -> int: ...
|
||||
def read(self, size: Optional[int] = ...) -> bytes: ...
|
||||
def read1(self, size: int = ...) -> bytes: ...
|
||||
|
||||
@@ -109,8 +108,7 @@ class BytesIO(BinaryIO):
|
||||
def detach(self) -> RawIOBase: ...
|
||||
def readinto(self, b: _bytearray_like) -> int: ...
|
||||
def write(self, b: Union[bytes, bytearray]) -> int: ...
|
||||
if sys.version_info >= (3, 5):
|
||||
def readinto1(self, b: _bytearray_like) -> int: ...
|
||||
def readinto1(self, b: _bytearray_like) -> int: ...
|
||||
def read(self, size: Optional[int] = ...) -> bytes: ...
|
||||
def read1(self, size: int = ...) -> bytes: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user