mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Style fixes on bz2
This commit is contained in:
committed by
Łukasz Langa
parent
79d8757f1f
commit
740c8921a5
@@ -9,7 +9,7 @@ def open(filename: Union[str, bytes, IO[Any]],
|
||||
mode: str = 'rb',
|
||||
encoding: str = None,
|
||||
errors: str = None,
|
||||
newline: str = None) -> Union[TextIO, BinaryIO]: ...
|
||||
newline: str = None) -> IO[Any]: ...
|
||||
|
||||
class BZ2File(BinaryIO):
|
||||
def __init__(self,
|
||||
@@ -23,7 +23,6 @@ class BZ2Compressor(object):
|
||||
def compress(self, data: bytes) -> bytes: ...
|
||||
def flush(self) -> bytes: ...
|
||||
|
||||
|
||||
class BZ2Decompressor(object):
|
||||
def decompress(self, data: bytes) -> bytes: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user