mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
32 lines
772 B
Python
32 lines
772 B
Python
"""Stub file for the 'zlib' module."""
|
|
# This is an autogenerated file. It serves as a starting point
|
|
# for a more precise manual annotation of this module.
|
|
# Feel free to edit the source below, but remove this header when you do.
|
|
|
|
from typing import List, Tuple, Dict, Undefined, GenericType
|
|
|
|
def adler32(a, *args, **kwargs) -> int: ...
|
|
|
|
def compress(a, *args, **kwargs) -> str:
|
|
raise MemoryError()
|
|
|
|
def compressobj(*args, **kwargs) -> object:
|
|
raise MemoryError()
|
|
raise ValueError()
|
|
|
|
def crc32(a, *args, **kwargs) -> int: ...
|
|
|
|
def decompress(a, *args, **kwargs) -> str:
|
|
raise MemoryError()
|
|
|
|
def decompressobj(*args, **kwargs) -> object:
|
|
raise MemoryError()
|
|
raise ValueError()
|
|
|
|
|
|
class Compress(object):
|
|
pass
|
|
|
|
class Decompress(object):
|
|
pass
|