Merge pull request #142 from smarkets/bz2-stub

Add a very basic bz2 stub
This commit is contained in:
Matthias Kramm
2016-04-13 07:51:20 -05:00
2 changed files with 6 additions and 0 deletions

6
stdlib/2and3/bz2.pyi Normal file
View File

@@ -0,0 +1,6 @@
# Stubs for bz2
# TODO: This stub is incomplete
def compress(data: bytes, compresslevel: int = ...) -> bytes: ...
def decompress(data: bytes) -> bytes: ...

View File