mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
30 lines
712 B
Python
30 lines
712 B
Python
"""Stub file for the 'zlib' module."""
|
|
# 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 adler32(a, *args, **kwargs) -> int: pass
|
|
|
|
def compress(a, *args, **kwargs) -> str:
|
|
raise MemoryError()
|
|
|
|
def compressobj(*args, **kwargs) -> object:
|
|
raise ValueError()
|
|
raise MemoryError()
|
|
|
|
def crc32(a, *args, **kwargs) -> int: pass
|
|
|
|
def decompress(a, *args, **kwargs) -> str:
|
|
raise MemoryError()
|
|
|
|
def decompressobj(*args, **kwargs) -> object:
|
|
raise ValueError()
|
|
raise MemoryError()
|
|
|
|
|
|
class Compress(object):
|
|
pass
|
|
|
|
class Decompress(object):
|
|
pass
|