mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-11 22:41:55 +08:00
Add Python 3 modules, and more Python 2 modules.
Also, sort names alphabetically and add module docstrings.
This commit is contained in:
@@ -1,28 +1,29 @@
|
||||
"""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 compress(a: Nothing, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
def adler32(a, *args, **kwargs) -> int: pass
|
||||
|
||||
def crc32(a: Nothing, *args, **kwargs) -> int: pass
|
||||
def compress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
def compressobj(*args, **kwargs) -> object:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
raise MemoryError()
|
||||
|
||||
def adler32(a: Nothing, *args, **kwargs) -> int: pass
|
||||
def crc32(a, *args, **kwargs) -> int: pass
|
||||
|
||||
def decompress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
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
|
||||
|
||||
class Decompress(object):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user