mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-30 06:35:22 +08:00
Rename .py to .pyi.
This commit is contained in:
31
2.7/zlib.pyi
Normal file
31
2.7/zlib.pyi
Normal file
@@ -0,0 +1,31 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user