mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-28 05:42:10 +08:00
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
This commit is contained in:
32
stdlib/3/zlib.pyi
Normal file
32
stdlib/3/zlib.pyi
Normal file
@@ -0,0 +1,32 @@
|
||||
# Stubs for zlib (Python 3.4)
|
||||
#
|
||||
# NOTE: This stub was automatically generated by stubgen.
|
||||
|
||||
# TODO: Compress and Decompress classes are not published by the module.
|
||||
|
||||
DEFLATED = ... # type: int
|
||||
DEF_BUF_SIZE = ... # type: int
|
||||
DEF_MEM_LEVEL = ... # type: int
|
||||
MAX_WBITS = ... # type: int
|
||||
ZLIB_RUNTIME_VERSION = ... # type: str
|
||||
ZLIB_VERSION = ... # type: str
|
||||
Z_BEST_COMPRESSION = ... # type: int
|
||||
Z_BEST_SPEED = ... # type: int
|
||||
Z_DEFAULT_COMPRESSION = ... # type: int
|
||||
Z_DEFAULT_STRATEGY = ... # type: int
|
||||
Z_FILTERED = ... # type: int
|
||||
Z_FINISH = ... # type: int
|
||||
Z_FULL_FLUSH = ... # type: int
|
||||
Z_HUFFMAN_ONLY = ... # type: int
|
||||
Z_NO_FLUSH = ... # type: int
|
||||
Z_SYNC_FLUSH = ... # type: int
|
||||
|
||||
def adler32(data, value=...) -> int: ...
|
||||
def compress(data, level: int = ...): ...
|
||||
def compressobj(level=..., method=..., wbits=..., memlevel=...,
|
||||
strategy=..., zdict=...): ...
|
||||
def crc32(data, value=...) -> int: ...
|
||||
def decompress(data, wbits=..., bufsize=...): ...
|
||||
def decompressobj(wbits=..., zdict=...): ...
|
||||
|
||||
class error(Exception): ...
|
||||
Reference in New Issue
Block a user