mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-11 22:41:55 +08:00
add some Python 2 modules
This commit is contained in:
28
python2/zlib.py
Normal file
28
python2/zlib.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more percise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
def compress(a: Nothing, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
def crc32(a: Nothing, *args, **kwargs) -> int: pass
|
||||
|
||||
def compressobj(*args, **kwargs) -> object:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def adler32(a: Nothing, *args, **kwargs) -> int: pass
|
||||
|
||||
def decompressobj(*args, **kwargs) -> object:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def decompress(a: Nothing, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
|
||||
class Decompress(object):
|
||||
pass
|
||||
|
||||
class Compress(object):
|
||||
pass
|
||||
Reference in New Issue
Block a user