More generic directory hierarchy.

This commit is contained in:
Matthias Kramm
2015-09-15 07:56:57 -07:00
parent 5b31046d8e
commit 29699f3a60
39 changed files with 23 additions and 12 deletions

18
2.7/_bisect.py Normal file
View File

@@ -0,0 +1,18 @@
"""Stub file for the '_bisect' 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 bisect(a, x, *args, **kwargs) -> int: ...
def bisect_left(a, x, *args, **kwargs) -> int: ...
def bisect_right(a, x, *args, **kwargs) -> int: ...
def insort(a, x, *args, **kwargs) -> None: ...
def insort_left(a, x, *args, **kwargs) -> None: ...
def insort_right(a, x, *args, **kwargs) -> None: ...

88
2.7/_codecs.py Normal file
View File

@@ -0,0 +1,88 @@
"""Stub file for the '_codecs' 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 ascii_decode(a, *args, **kwargs) -> tuple: ...
def ascii_encode(a, *args, **kwargs) -> tuple: ...
def charbuffer_encode(*args, **kwargs) -> tuple: ...
def charmap_build(a: str) -> object: ...
def charmap_decode(a, *args, **kwargs) -> tuple: ...
def charmap_encode(a, *args, **kwargs) -> tuple: ...
def decode(a, *args, **kwargs) -> object: ...
def encode(a, *args, **kwargs) -> object: ...
def escape_decode(a, *args, **kwargs) -> tuple: ...
def escape_encode(a: str, *args, **kwargs) -> tuple: ...
def latin_1_decode(a, *args, **kwargs) -> tuple: ...
def latin_1_encode(a, *args, **kwargs) -> tuple: ...
def lookup(a: str) -> object: ...
def lookup_error(a: str) -> object: ...
def raw_unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
def raw_unicode_escape_encode(a, *args, **kwargs) -> tuple: ...
def readbuffer_encode(a, *args, **kwargs) -> tuple: ...
def register(*args, **kwargs) -> None: ...
def register_error(a: str, b) -> None: ...
def unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
def unicode_escape_encode(a, *args, **kwargs) -> tuple: ...
def unicode_internal_decode(a, *args, **kwargs) -> tuple: ...
def unicode_internal_encode(a, *args, **kwargs) -> tuple: ...
def utf_16_be_decode(a, *args, **kwargs) -> tuple: ...
def utf_16_be_encode(a, *args, **kwargs) -> tuple: ...
def utf_16_decode(a, *args, **kwargs) -> tuple: ...
def utf_16_encode(a, *args, **kwargs) -> tuple: ...
def utf_16_ex_decode(a, *args, **kwargs) -> tuple: ...
def utf_16_le_decode(a, *args, **kwargs) -> tuple: ...
def utf_16_le_encode(a, *args, **kwargs) -> tuple: ...
def utf_32_be_decode(a, *args, **kwargs) -> tuple: ...
def utf_32_be_encode(a, *args, **kwargs) -> tuple: ...
def utf_32_decode(a, *args, **kwargs) -> tuple: ...
def utf_32_encode(a, *args, **kwargs) -> tuple: ...
def utf_32_ex_decode(a, *args, **kwargs) -> tuple: ...
def utf_32_le_decode(a, *args, **kwargs) -> tuple: ...
def utf_32_le_encode(a, *args, **kwargs) -> tuple: ...
def utf_7_decode(a, *args, **kwargs) -> tuple: ...
def utf_7_encode(a, *args, **kwargs) -> tuple: ...
def utf_8_decode(a, *args, **kwargs) -> tuple: ...
def utf_8_encode(a, *args, **kwargs) -> tuple: ...

41
2.7/_collections.py Normal file
View File

@@ -0,0 +1,41 @@
"""Stub file for the '_collections' 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
class defaultdict(object):
def __copy__() -> object: ...
def __missing__(*args, **kwargs) -> object:
raise KeyError()
def __reduce__() -> tuple: ...
def copy() -> object: ...
class deque(object):
def __copy__() -> object: ...
def __reduce__() -> tuple: ...
def __reversed__() -> object: ...
def __sizeof__() -> long: ...
def append(*args, **kwargs) -> None: ...
def appendleft(*args, **kwargs) -> None: ...
def clear() -> None: ...
def count(*args, **kwargs) -> int:
raise RuntimeError()
def extend(*args, **kwargs) -> None: ...
def extendleft(*args, **kwargs) -> None: ...
def pop() -> object:
raise IndexError()
def popleft() -> object:
raise IndexError()
def remove(*args, **kwargs) -> None:
raise IndexError()
raise ValueError()
def reverse() -> None: ...
def rotate(*args, **kwargs) -> None: ...
class deque_iterator(object):
def __length_hint__() -> int: ...
class deque_reverse_iterator(object):
def __length_hint__() -> int: ...

14
2.7/_functools.py Normal file
View File

@@ -0,0 +1,14 @@
"""Stub file for the '_functools' 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 reduce(*args, **kwargs) -> object:
raise TypeError()
class partial(object):
def __reduce__() -> tuple: ...
def __setstate__(a, b, c, d) -> None: ...

27
2.7/_heapq.py Normal file
View File

@@ -0,0 +1,27 @@
"""Stub file for the '_heapq' 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 heapify(*args, **kwargs) -> None:
raise TypeError()
def heappop(*args, **kwargs) -> object:
raise IndexError()
raise TypeError()
def heappush(*args, **kwargs) -> None:
raise TypeError()
def heappushpop(*args, **kwargs) -> object:
raise TypeError()
def heapreplace(*args, **kwargs) -> object:
raise IndexError()
raise TypeError()
def nlargest(a: int, b) -> List[object]: ...
def nsmallest(a: int, b) -> List[object]: ...

34
2.7/_hotshot.py Normal file
View File

@@ -0,0 +1,34 @@
"""Stub file for the '_hotshot' 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 coverage(a: str) -> object: ...
def logreader(a: str) -> LogReaderType:
raise IOError()
raise RuntimeError()
def profiler(a: str, *args, **kwargs) -> object:
raise IOError()
def resolution() -> tuple: ...
class LogReaderType(object):
def close() -> None: ...
def fileno() -> int:
raise ValueError()
class ProfilerType(object):
def addinfo(a: str, b: str) -> None: ...
def close() -> None: ...
def fileno() -> int:
raise ValueError()
def runcall(*args, **kwargs) -> object: ...
def runcode(a, b, *args, **kwargs) -> object:
raise TypeError()
def start() -> None: ...
def stop() -> None: ...

19
2.7/_json.py Normal file
View File

@@ -0,0 +1,19 @@
"""Stub file for the '_json' 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 encode_basestring_ascii(*args, **kwargs) -> str:
raise TypeError()
def scanstring(a, b, *args, **kwargs) -> tuple:
raise TypeError()
class Encoder(object):
pass
class Scanner(object):
pass

20
2.7/_random.py Normal file
View File

@@ -0,0 +1,20 @@
"""Stub file for the '_random' 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
class Random(object):
def getrandbits(a: int) -> object:
raise MemoryError()
raise ValueError()
def getstate() -> tuple: ...
def jumpahead(*args, **kwargs) -> None:
raise TypeError()
def random() -> float: ...
def seed(*args, **kwargs) -> None:
raise MemoryError()
def setstate(*args, **kwargs) -> None:
raise TypeError()
raise ValueError()

53
2.7/_sre.py Normal file
View File

@@ -0,0 +1,53 @@
"""Stub file for the '_sre' 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
CODESIZE = Undefined(int)
MAGIC = Undefined(int)
MAXREPEAT = Undefined(long)
copyright = Undefined(str)
def compile(a, b: int, c, *args, **kwargs) -> SRE_Pattern:
raise OverflowError()
def getcodesize() -> int: ...
def getlower(a: int, b: int) -> int: ...
class SRE_Match(object):
def __copy__() -> object:
raise TypeError()
def __deepcopy__(*args, **kwargs) -> object:
raise TypeError()
def end(*args, **kwargs) -> int:
raise IndexError()
def expand(*args, **kwargs) -> object: ...
def group(*args, **kwargs) -> tuple: ...
def groupdict(*args, **kwargs) -> dict: ...
def groups(*args, **kwargs) -> tuple: ...
def span(*args, **kwargs) -> tuple:
raise IndexError()
def start(*args, **kwargs) -> int:
raise IndexError()
class SRE_Pattern(object):
def __copy__() -> object:
raise TypeError()
def __deepcopy__(*args, **kwargs) -> object:
raise TypeError()
def findall(source, *args, **kwargs) -> List[tuple]: ...
def finditer(*args, **kwargs) -> callable_iterator: ...
def match(pattern, *args, **kwargs) -> object: ...
def scanner(a, *args, **kwargs) -> SRE_Scanner: ...
def search(pattern, *args, **kwargs) -> object: ...
def split(source, *args, **kwargs) -> List[None]: ...
def sub(repl, string, *args, **kwargs) -> tuple: ...
def subn(repl, string, *args, **kwargs) -> tuple: ...
class SRE_Scanner(object):
def match() -> object: ...
def search() -> object: ...

29
2.7/_struct.py Normal file
View File

@@ -0,0 +1,29 @@
"""Stub file for the '_struct' 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 _clearcache() -> None: ...
def calcsize(*args, **kwargs) -> int: ...
def pack(*args, **kwargs) -> str:
raise TypeError()
def pack_into(*args, **kwargs) -> None:
raise TypeError()
def unpack(*args, **kwargs) -> tuple: ...
def unpack_from(*args, **kwargs) -> tuple:
raise TypeError()
class Struct(object):
def __sizeof__() -> long: ...
def pack(*args, **kwargs) -> str: ...
def pack_into(*args, **kwargs) -> None: ...
def unpack(a) -> tuple: ...
def unpack_from(*args, **kwargs) -> tuple: ...

56
2.7/array.py Normal file
View File

@@ -0,0 +1,56 @@
"""Stub file for the 'array' 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
class array(object):
def __copy__() -> object: ...
def __deepcopy__(*args, **kwargs) -> object: ...
def __reduce__() -> tuple:
raise AttributeError()
def __sizeof__() -> long: ...
def append(*args, **kwargs) -> None: ...
def buffer_info() -> tuple: ...
def byteswap() -> None:
raise RuntimeError()
def count(*args, **kwargs) -> int: ...
def extend(*args, **kwargs) -> None: ...
def fromfile(a, b: int) -> None:
raise EOFError()
raise IOError()
raise MemoryError()
raise TypeError()
def fromlist(*args, **kwargs) -> None:
raise MemoryError()
raise TypeError()
def fromstring(a) -> None:
raise MemoryError()
raise ValueError()
def fromunicode(a: str) -> None:
raise MemoryError()
raise ValueError()
def index(*args, **kwargs) -> int:
raise ValueError()
def insert(a: int, b) -> None: ...
def pop(*args, **kwargs) -> object:
raise IndexError()
def read(*args, **kwargs) -> None:
raise DeprecationWarning()
def remove(*args, **kwargs) -> None:
raise ValueError()
def reverse() -> None: ...
def tofile(*args, **kwargs) -> None:
raise IOError()
raise TypeError()
def tolist() -> list: ...
def tostring() -> str:
raise MemoryError()
def tounicode() -> unicode:
raise ValueError()
def write(*args, **kwargs) -> None:
raise DeprecationWarning()
class arrayiterator(object):
pass

43
2.7/cStringIO.py Normal file
View File

@@ -0,0 +1,43 @@
"""Stub file for the 'cStringIO' 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
InputType = Undefined(StringI)
OutputType = Undefined(StringO)
cStringIO_CAPI = Undefined(object)
def StringIO(*args, **kwargs) -> object: ...
class StringI(object):
def close() -> None: ...
def flush() -> None: ...
def getvalue(*args, **kwargs) -> str: ...
def isatty() -> bool: ...
def read(*args, **kwargs) -> str: ...
def readline(*args, **kwargs) -> str: ...
def readlines(*args, **kwargs) -> List[str]: ...
def reset() -> None: ...
def seek(a: int, *args, **kwargs) -> None: ...
def tell() -> int: ...
def truncate(*args, **kwargs) -> None:
raise IOError()
class StringO(object):
def close() -> None: ...
def flush() -> None: ...
def getvalue(*args, **kwargs) -> str: ...
def isatty() -> bool: ...
def read(*args, **kwargs) -> str: ...
def readline(*args, **kwargs) -> str: ...
def readlines(*args, **kwargs) -> List[str]: ...
def reset() -> None: ...
def seek(a: int, *args, **kwargs) -> None: ...
def tell() -> int: ...
def truncate(*args, **kwargs) -> None:
raise IOError()
def write(a) -> None: ...
def writelines(*args, **kwargs) -> None: ...

48
2.7/cmath.py Normal file
View File

@@ -0,0 +1,48 @@
"""Stub file for the 'cmath' 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 acos(*args, **kwargs) -> complex: ...
def acosh(*args, **kwargs) -> complex: ...
def asin(*args, **kwargs) -> complex: ...
def asinh(*args, **kwargs) -> complex: ...
def atan(*args, **kwargs) -> complex: ...
def atanh(*args, **kwargs) -> complex: ...
def cos(*args, **kwargs) -> complex: ...
def cosh(*args, **kwargs) -> complex: ...
def exp(*args, **kwargs) -> complex: ...
def isinf(a: complex) -> bool: ...
def isnan(a: complex) -> bool: ...
def log(a: complex, *args, **kwargs) -> complex: ...
def log10(*args, **kwargs) -> complex: ...
def phase(a: complex) -> float: ...
def polar(a: complex) -> tuple: ...
def rect(a: float, b: float) -> complex: ...
def sin(*args, **kwargs) -> complex: ...
def sinh(*args, **kwargs) -> complex: ...
def sqrt(*args, **kwargs) -> complex: ...
def tan(*args, **kwargs) -> complex: ...
def tanh(*args, **kwargs) -> complex: ...

76
2.7/datetime.py Normal file
View File

@@ -0,0 +1,76 @@
"""Stub file for the 'datetime' 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
max = Undefined(object)
min = Undefined(object)
resolution = Undefined(object)
class date(object):
def __format__(a) -> unicode:
raise ValueError()
def __reduce__() -> tuple: ...
def ctime() -> str: ...
def fromordinal(a: int) -> object:
raise ValueError()
def fromtimestamp(a: float) -> object: ...
def isocalendar() -> tuple: ...
def isoformat() -> str: ...
def isoweekday() -> int: ...
def replace(*args, **kwargs) -> object: ...
def strftime(format) -> object: ...
def timetuple() -> object: ...
def today() -> object: ...
def toordinal() -> int: ...
def weekday() -> int: ...
class datetime(object):
def __reduce__() -> tuple: ...
def astimezone(tz) -> object:
raise ValueError()
def combine(date, time) -> object: ...
def ctime() -> str: ...
def date() -> object: ...
def dst() -> object: ...
def fromtimestamp(timestamp: float, *args, **kwargs) -> object: ...
def isoformat(*args, **kwargs) -> str: ...
def now(*args, **kwargs) -> object: ...
def replace(*args, **kwargs) -> object: ...
def strptime(a: str, b: str) -> object:
raise ValueError()
def time() -> object: ...
def timetuple() -> object: ...
def timetz() -> object: ...
def tzname() -> object: ...
def utcfromtimestamp(a: float) -> object: ...
def utcnow() -> object: ...
def utcoffset() -> object: ...
def utctimetuple() -> object:
raise OverflowError()
class time(object):
def __format__(a) -> unicode:
raise ValueError()
def __reduce__() -> tuple: ...
def dst() -> object: ...
def isoformat() -> str: ...
def replace(*args, **kwargs) -> object: ...
def strftime(format) -> object: ...
def tzname() -> object: ...
def utcoffset() -> object: ...
class timedelta(object):
def __reduce__() -> tuple: ...
def total_seconds() -> int: ...
class tzinfo(object):
def __reduce__() -> tuple: ...
def dst(*args, **kwargs) -> object: ...
def fromutc(*args, **kwargs) -> object:
raise TypeError()
raise ValueError()
def tzname(*args, **kwargs) -> object: ...
def utcoffset(*args, **kwargs) -> object: ...

33
2.7/gc.py Normal file
View File

@@ -0,0 +1,33 @@
"""Stub file for the 'gc' 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 collect(*args, **kwargs) -> int:
raise ValueError()
def disable() -> None: ...
def enable() -> None: ...
def get_count() -> tuple: ...
def get_debug() -> int: ...
def get_objects() -> list: ...
def get_referents(*args, **kwargs) -> list: ...
def get_referrers(*args, **kwargs) -> list: ...
def get_threshold() -> tuple: ...
def is_tracked(*args, **kwargs) -> bool: ...
def isenabled() -> bool: ...
def set_debug(a: int) -> None: ...
def set_threshold(a: int, *args, **kwargs) -> None: ...

90
2.7/math.py Normal file
View File

@@ -0,0 +1,90 @@
"""Stub file for the 'math' 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 acos(*args, **kwargs) -> float: ...
def acosh(*args, **kwargs) -> float: ...
def asin(*args, **kwargs) -> float: ...
def asinh(*args, **kwargs) -> float: ...
def atan(*args, **kwargs) -> float: ...
def atan2(*args, **kwargs) -> float: ...
def atanh(*args, **kwargs) -> float: ...
def ceil(*args, **kwargs) -> float: ...
def copysign(*args, **kwargs) -> float: ...
def cos(*args, **kwargs) -> float: ...
def cosh(*args, **kwargs) -> float: ...
def degrees(*args, **kwargs) -> float: ...
def erf(*args, **kwargs) -> float: ...
def erfc(*args, **kwargs) -> float: ...
def exp(*args, **kwargs) -> float: ...
def expm1(*args, **kwargs) -> float: ...
def fabs(*args, **kwargs) -> float: ...
def factorial(*args, **kwargs) -> int:
raise ValueError()
def floor(*args, **kwargs) -> float: ...
def fmod(*args, **kwargs) -> float: ...
def frexp(*args, **kwargs) -> tuple: ...
def fsum(*args, **kwargs) -> float:
raise OverflowError()
raise ValueError()
def gamma(*args, **kwargs) -> float: ...
def hypot(*args, **kwargs) -> float: ...
def isinf(*args, **kwargs) -> bool: ...
def isnan(*args, **kwargs) -> bool: ...
def ldexp(a: float, b) -> float:
raise TypeError()
def lgamma(*args, **kwargs) -> float: ...
def log(*args, **kwargs) -> float: ...
def log10(*args, **kwargs) -> float: ...
def log1p(*args, **kwargs) -> float: ...
def modf(*args, **kwargs) -> tuple: ...
def pow(*args, **kwargs) -> float: ...
def radians(*args, **kwargs) -> float: ...
def sin(*args, **kwargs) -> float: ...
def sinh(*args, **kwargs) -> float: ...
def sqrt(*args, **kwargs) -> float: ...
def tan(*args, **kwargs) -> float: ...
def tanh(*args, **kwargs) -> float: ...
def trunc(*args, **kwargs) -> object: ...

236
2.7/operator.py Normal file
View File

@@ -0,0 +1,236 @@
"""Stub file for the 'operator' 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 __abs__(*args, **kwargs) -> object: ...
def __add__(*args, **kwargs) -> object: ...
def __and__(*args, **kwargs) -> object: ...
def __concat__(*args, **kwargs) -> object: ...
def __contains__(*args, **kwargs) -> bool: ...
def __delitem__(*args, **kwargs) -> None: ...
def __delslice__(a, b: int, c: int) -> None: ...
def __div__(*args, **kwargs) -> object: ...
def __eq__(*args, **kwargs) -> object: ...
def __floordiv__(*args, **kwargs) -> object: ...
def __ge__(*args, **kwargs) -> object: ...
def __getitem__(*args, **kwargs) -> object: ...
def __getslice__(a, b: int, c: int) -> object: ...
def __gt__(*args, **kwargs) -> object: ...
def __iadd__(*args, **kwargs) -> object: ...
def __iand__(*args, **kwargs) -> object: ...
def __iconcat__(*args, **kwargs) -> object: ...
def __idiv__(*args, **kwargs) -> object: ...
def __ifloordiv__(*args, **kwargs) -> object: ...
def __ilshift__(*args, **kwargs) -> object: ...
def __imod__(*args, **kwargs) -> object: ...
def __imul__(*args, **kwargs) -> object: ...
def __index__(*args, **kwargs) -> object: ...
def __inv__(*args, **kwargs) -> object: ...
def __invert__(*args, **kwargs) -> object: ...
def __ior__(*args, **kwargs) -> object: ...
def __ipow__(*args, **kwargs) -> object: ...
def __irepeat__(a, b: int) -> object: ...
def __irshift__(*args, **kwargs) -> object: ...
def __isub__(*args, **kwargs) -> object: ...
def __itruediv__(*args, **kwargs) -> object: ...
def __ixor__(*args, **kwargs) -> object: ...
def __le__(*args, **kwargs) -> object: ...
def __lshift__(*args, **kwargs) -> object: ...
def __lt__(*args, **kwargs) -> object: ...
def __mod__(*args, **kwargs) -> object: ...
def __mul__(*args, **kwargs) -> object: ...
def __ne__(*args, **kwargs) -> object: ...
def __neg__(*args, **kwargs) -> object: ...
def __not__(*args, **kwargs) -> bool: ...
def __or__(*args, **kwargs) -> object: ...
def __pos__(*args, **kwargs) -> object: ...
def __pow__(*args, **kwargs) -> object: ...
def __repeat__(a, b: int) -> object: ...
def __rshift__(*args, **kwargs) -> object: ...
def __setitem__(*args, **kwargs) -> None: ...
def __setslice__(a, b: int, c: int, d) -> None: ...
def __sub__(*args, **kwargs) -> object: ...
def __truediv__(*args, **kwargs) -> object: ...
def __xor__(*args, **kwargs) -> object: ...
def abs(*args, **kwargs) -> object: ...
def add(*args, **kwargs) -> object: ...
def and_(*args, **kwargs) -> object: ...
def concat(*args, **kwargs) -> object: ...
def contains(*args, **kwargs) -> bool: ...
def countOf(*args, **kwargs) -> int: ...
def delitem(*args, **kwargs) -> None: ...
def delslice(a, b: int, c: int) -> None: ...
def div(*args, **kwargs) -> object: ...
def eq(*args, **kwargs) -> object: ...
def floordiv(*args, **kwargs) -> object: ...
def ge(*args, **kwargs) -> object: ...
def getitem(*args, **kwargs) -> object: ...
def getslice(a, b: int, c: int) -> object: ...
def gt(*args, **kwargs) -> object: ...
def iadd(*args, **kwargs) -> object: ...
def iand(*args, **kwargs) -> object: ...
def iconcat(*args, **kwargs) -> object: ...
def idiv(*args, **kwargs) -> object: ...
def ifloordiv(*args, **kwargs) -> object: ...
def ilshift(*args, **kwargs) -> object: ...
def imod(*args, **kwargs) -> object: ...
def imul(*args, **kwargs) -> object: ...
def index(*args, **kwargs) -> object: ...
def indexOf(*args, **kwargs) -> int: ...
def inv(*args, **kwargs) -> object: ...
def invert(*args, **kwargs) -> object: ...
def ior(*args, **kwargs) -> object: ...
def ipow(*args, **kwargs) -> object: ...
def irepeat(a, b: int) -> object: ...
def irshift(*args, **kwargs) -> object: ...
def isCallable(*args, **kwargs) -> bool: ...
def isMappingType(*args, **kwargs) -> bool: ...
def isNumberType(*args, **kwargs) -> bool: ...
def isSequenceType(*args, **kwargs) -> bool: ...
def is_(*args, **kwargs) -> bool: ...
def is_not(*args, **kwargs) -> bool: ...
def isub(*args, **kwargs) -> object: ...
def itruediv(*args, **kwargs) -> object: ...
def ixor(*args, **kwargs) -> object: ...
def le(*args, **kwargs) -> object: ...
def lshift(*args, **kwargs) -> object: ...
def lt(*args, **kwargs) -> object: ...
def mod(*args, **kwargs) -> object: ...
def mul(*args, **kwargs) -> object: ...
def ne(*args, **kwargs) -> object: ...
def neg(*args, **kwargs) -> object: ...
def not_(*args, **kwargs) -> bool: ...
def or_(*args, **kwargs) -> object: ...
def pos(*args, **kwargs) -> object: ...
def pow(*args, **kwargs) -> object: ...
def repeat(a, b: int) -> object: ...
def rshift(*args, **kwargs) -> object: ...
def sequenceIncludes(*args, **kwargs) -> bool: ...
def setitem(*args, **kwargs) -> None: ...
def setslice(a, b: int, c: int, d) -> None: ...
def sub(*args, **kwargs) -> object: ...
def truediv(*args, **kwargs) -> object: ...
def truth(*args, **kwargs) -> bool: ...
def xor(*args, **kwargs) -> object: ...
class attrgetter(object):
pass
class itemgetter(object):
pass
class methodcaller(object):
pass

75
2.7/signal.py Normal file
View File

@@ -0,0 +1,75 @@
"""Stub file for the 'signal' 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
ITIMER_PROF = Undefined(long)
ITIMER_REAL = Undefined(long)
ITIMER_VIRTUAL = Undefined(long)
ItimerError = Undefined(object)
NSIG = Undefined(int)
SIGABRT = Undefined(int)
SIGALRM = Undefined(int)
SIGBUS = Undefined(int)
SIGCHLD = Undefined(int)
SIGCLD = Undefined(int)
SIGCONT = Undefined(int)
SIGFPE = Undefined(int)
SIGHUP = Undefined(int)
SIGILL = Undefined(int)
SIGINT = Undefined(int)
SIGIO = Undefined(int)
SIGIOT = Undefined(int)
SIGKILL = Undefined(int)
SIGPIPE = Undefined(int)
SIGPOLL = Undefined(int)
SIGPROF = Undefined(int)
SIGPWR = Undefined(int)
SIGQUIT = Undefined(int)
SIGRTMAX = Undefined(int)
SIGRTMIN = Undefined(int)
SIGSEGV = Undefined(int)
SIGSTOP = Undefined(int)
SIGSYS = Undefined(int)
SIGTERM = Undefined(int)
SIGTRAP = Undefined(int)
SIGTSTP = Undefined(int)
SIGTTIN = Undefined(int)
SIGTTOU = Undefined(int)
SIGURG = Undefined(int)
SIGUSR1 = Undefined(int)
SIGUSR2 = Undefined(int)
SIGVTALRM = Undefined(int)
SIGWINCH = Undefined(int)
SIGXCPU = Undefined(int)
SIGXFSZ = Undefined(int)
SIG_DFL = Undefined(long)
SIG_IGN = Undefined(long)
def alarm(a: int) -> int: ...
def default_int_handler(*args, **kwargs) -> object:
raise KeyboardInterrupt()
def getitimer(a: int) -> tuple: ...
def getsignal(a: int) -> None:
raise ValueError()
def pause() -> None: ...
def set_wakeup_fd(a: int) -> long:
raise ValueError()
def setitimer(a: int, b: float, *args, **kwargs) -> tuple: ...
def siginterrupt(a: int, b: int) -> None:
raise RuntimeError()
raise ValueError()
def signal(a: int, b) -> None:
raise RuntimeError()
raise TypeError()
raise ValueError()

83
2.7/strop.py Normal file
View File

@@ -0,0 +1,83 @@
"""Stub file for the 'strop' 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 atof(a: str) -> float:
raise DeprecationWarning()
raise ValueError()
def atoi(a: str, *args, **kwargs) -> int:
raise DeprecationWarning()
raise ValueError()
def atol(a: str, *args, **kwargs) -> long:
raise DeprecationWarning()
raise ValueError()
def capitalize(*args, **kwargs) -> str:
raise DeprecationWarning()
def count(*args, **kwargs) -> int:
raise DeprecationWarning()
def expandtabs(a, *args, **kwargs) -> str:
raise DeprecationWarning()
raise OverflowError()
raise ValueError()
def find(*args, **kwargs) -> int:
raise DeprecationWarning()
def join(*args, **kwargs) -> object:
raise DeprecationWarning()
raise OverflowError()
raise TypeError()
def joinfields(*args, **kwargs) -> object:
raise DeprecationWarning()
raise OverflowError()
raise TypeError()
def lower(*args, **kwargs) -> str:
raise DeprecationWarning()
def lstrip(*args, **kwargs) -> str:
raise DeprecationWarning()
def maketrans(*args, **kwargs) -> str:
raise ValueError()
def replace(*args, **kwargs) -> str:
raise DeprecationWarning()
raise MemoryError()
raise ValueError()
def rfind(*args, **kwargs) -> int:
raise DeprecationWarning()
def rstrip(*args, **kwargs) -> str:
raise DeprecationWarning()
def split(*args, **kwargs) -> List[str]:
raise DeprecationWarning()
raise ValueError()
def splitfields(*args, **kwargs) -> List[str]:
raise DeprecationWarning()
raise ValueError()
def strip(*args, **kwargs) -> str:
raise DeprecationWarning()
def swapcase(*args, **kwargs) -> str:
raise DeprecationWarning()
def translate(*args, **kwargs) -> str:
raise DeprecationWarning()
raise ValueError()
def upper(*args, **kwargs) -> str:
raise DeprecationWarning()

53
2.7/thread.py Normal file
View File

@@ -0,0 +1,53 @@
"""Stub file for the 'thread' 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
LockType = Undefined(lock)
error = Undefined(object)
def _count() -> int: ...
def allocate() -> lock: ...
def allocate_lock() -> lock: ...
def exit() -> object:
raise SystemExit()
def exit_thread() -> object:
raise SystemExit()
def get_ident() -> int: ...
def interrupt_main() -> None: ...
def stack_size(*args, **kwargs) -> int:
raise ValueError()
def start_new(*args, **kwargs) -> int:
raise MemoryError()
raise TypeError()
def start_new_thread(*args, **kwargs) -> int:
raise MemoryError()
raise TypeError()
class _local(object):
pass
class _localdummy(object):
pass
class lock(object):
def __enter__(*args, **kwargs) -> bool: ...
def __exit__(*args, **kwargs) -> None: ...
def acquire(*args, **kwargs) -> bool: ...
def acquire_lock(*args, **kwargs) -> bool: ...
def locked() -> bool: ...
def locked_lock() -> bool: ...
def release() -> None: ...
def release_lock() -> None: ...

34
2.7/time.py Normal file
View File

@@ -0,0 +1,34 @@
"""Stub file for the 'time' 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 asctime(*args, **kwargs) -> str:
raise ValueError()
def clock() -> float: ...
def ctime(*args, **kwargs) -> str:
raise ValueError()
def gmtime(*args, **kwargs) -> tuple: ...
def localtime(*args, **kwargs) -> tuple: ...
def mktime(*args, **kwargs) -> float:
raise OverflowError()
def sleep(a: float) -> None: ...
def strftime(a: str, *args, **kwargs) -> str:
raise MemoryError()
raise ValueError()
def strptime(*args, **kwargs) -> object: ...
def time() -> float:
raise IOError()
def tzset() -> None: ...

19
2.7/xxsubtype.py Normal file
View File

@@ -0,0 +1,19 @@
"""Stub file for the 'xxsubtype' 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 bench(a, b: str, *args, **kwargs) -> float: ...
class spamdict(object):
def getstate() -> int: ...
def setstate(a: int) -> None: ...
class spamlist(object):
def classmeth(*args, **kwargs) -> tuple: ...
def getstate() -> int: ...
def setstate(a: int) -> None: ...
def staticmeth(*args, **kwargs) -> tuple: ...

16
2.7/zipimport.py Normal file
View File

@@ -0,0 +1,16 @@
"""Stub file for the 'zipimport' 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
class zipimporter(object):
def find_module(a: str, *args, **kwargs) -> None: ...
def get_code(a: str) -> object: ...
def get_data(a: str) -> str:
raise IOError()
def get_filename(a: str) -> str: ...
def get_source(a: str) -> object: ...
def is_package(a: str) -> bool: ...
def load_module(a: str) -> object: ...

31
2.7/zlib.py Normal file
View 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