From 740c8921a5fbacf8fa8a272953afd5aea8514f1a Mon Sep 17 00:00:00 2001 From: Thomas Aynaud Date: Tue, 20 Dec 2016 17:59:27 +0100 Subject: [PATCH] Style fixes on bz2 --- stdlib/2and3/bz2.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stdlib/2and3/bz2.pyi b/stdlib/2and3/bz2.pyi index 8003ec878..e7cdab594 100644 --- a/stdlib/2and3/bz2.pyi +++ b/stdlib/2and3/bz2.pyi @@ -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