diff --git a/stdlib/2and3/bz2.pyi b/stdlib/2and3/bz2.pyi new file mode 100644 index 000000000..31db7b704 --- /dev/null +++ b/stdlib/2and3/bz2.pyi @@ -0,0 +1,6 @@ +# Stubs for bz2 + +# TODO: This stub is incomplete + +def compress(data: bytes, compresslevel: int = ...) -> bytes: ... +def decompress(data: bytes) -> bytes: ... diff --git a/stdlib/3/bz2.pyi b/stdlib/3/bz2.pyi deleted file mode 100644 index e69de29bb..000000000