mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Use '...' instead of 'pass' for function bodies
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def bisect(a, x, *args, **kwargs) -> int: pass
|
||||
def bisect(a, x, *args, **kwargs) -> int: ...
|
||||
|
||||
def bisect_left(a, x, *args, **kwargs) -> int: pass
|
||||
def bisect_left(a, x, *args, **kwargs) -> int: ...
|
||||
|
||||
def bisect_right(a, x, *args, **kwargs) -> int: pass
|
||||
def bisect_right(a, x, *args, **kwargs) -> int: ...
|
||||
|
||||
def insort(a, x, *args, **kwargs) -> None: pass
|
||||
def insort(a, x, *args, **kwargs) -> None: ...
|
||||
|
||||
def insort_left(a, x, *args, **kwargs) -> None: pass
|
||||
def insort_left(a, x, *args, **kwargs) -> None: ...
|
||||
|
||||
def insort_right(a, x, *args, **kwargs) -> None: pass
|
||||
def insort_right(a, x, *args, **kwargs) -> None: ...
|
||||
|
||||
@@ -5,84 +5,84 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def ascii_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def ascii_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def ascii_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def ascii_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charbuffer_encode(*args, **kwargs) -> tuple: pass
|
||||
def charbuffer_encode(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_build(a: str) -> object: pass
|
||||
def charmap_build(a: str) -> object: ...
|
||||
|
||||
def charmap_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def charmap_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def charmap_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def decode(a, *args, **kwargs) -> object: pass
|
||||
def decode(a, *args, **kwargs) -> object: ...
|
||||
|
||||
def encode(a, *args, **kwargs) -> object: pass
|
||||
def encode(a, *args, **kwargs) -> object: ...
|
||||
|
||||
def escape_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def escape_encode(a: str, *args, **kwargs) -> tuple: pass
|
||||
def escape_encode(a: str, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def latin_1_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def latin_1_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def latin_1_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def latin_1_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def lookup(a: str) -> object: pass
|
||||
def lookup(a: str) -> object: ...
|
||||
|
||||
def lookup_error(a: str) -> object: pass
|
||||
def lookup_error(a: str) -> object: ...
|
||||
|
||||
def raw_unicode_escape_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def raw_unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def raw_unicode_escape_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def raw_unicode_escape_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def readbuffer_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def readbuffer_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def register(*args, **kwargs) -> None: pass
|
||||
def register(*args, **kwargs) -> None: ...
|
||||
|
||||
def register_error(a: str, b) -> None: pass
|
||||
def register_error(a: str, b) -> None: ...
|
||||
|
||||
def unicode_escape_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def unicode_escape_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def unicode_escape_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def unicode_internal_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def unicode_internal_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def unicode_internal_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def unicode_internal_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_be_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_16_be_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_be_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_16_be_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_16_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_16_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_ex_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_16_ex_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_le_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_16_le_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_le_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_16_le_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_be_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_32_be_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_be_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_32_be_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_32_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_32_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_ex_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_32_ex_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_le_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_32_le_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_le_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_32_le_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_7_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_7_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_7_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_7_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_8_decode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_8_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_8_encode(a, *args, **kwargs) -> tuple: pass
|
||||
def utf_8_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
@@ -6,24 +6,24 @@
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
class defaultdict(object):
|
||||
def __copy__() -> object: pass
|
||||
def __copy__() -> object: ...
|
||||
def __missing__(*args, **kwargs) -> object:
|
||||
raise KeyError()
|
||||
def __reduce__() -> tuple: pass
|
||||
def copy() -> object: pass
|
||||
def __reduce__() -> tuple: ...
|
||||
def copy() -> object: ...
|
||||
|
||||
class deque(object):
|
||||
def __copy__() -> object: pass
|
||||
def __reduce__() -> tuple: pass
|
||||
def __reversed__() -> object: pass
|
||||
def __sizeof__() -> long: pass
|
||||
def append(*args, **kwargs) -> None: pass
|
||||
def appendleft(*args, **kwargs) -> None: pass
|
||||
def clear() -> None: pass
|
||||
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: pass
|
||||
def extendleft(*args, **kwargs) -> None: pass
|
||||
def extend(*args, **kwargs) -> None: ...
|
||||
def extendleft(*args, **kwargs) -> None: ...
|
||||
def pop() -> object:
|
||||
raise IndexError()
|
||||
def popleft() -> object:
|
||||
@@ -31,11 +31,11 @@ class deque(object):
|
||||
def remove(*args, **kwargs) -> None:
|
||||
raise IndexError()
|
||||
raise ValueError()
|
||||
def reverse() -> None: pass
|
||||
def rotate(*args, **kwargs) -> None: pass
|
||||
def reverse() -> None: ...
|
||||
def rotate(*args, **kwargs) -> None: ...
|
||||
|
||||
class deque_iterator(object):
|
||||
def __length_hint__() -> int: pass
|
||||
def __length_hint__() -> int: ...
|
||||
|
||||
class deque_reverse_iterator(object):
|
||||
def __length_hint__() -> int: pass
|
||||
def __length_hint__() -> int: ...
|
||||
|
||||
@@ -10,5 +10,5 @@ def reduce(*args, **kwargs) -> object:
|
||||
|
||||
|
||||
class partial(object):
|
||||
def __reduce__() -> tuple: pass
|
||||
def __setstate__(a, b, c, d) -> None: pass
|
||||
def __reduce__() -> tuple: ...
|
||||
def __setstate__(a, b, c, d) -> None: ...
|
||||
|
||||
@@ -22,6 +22,6 @@ def heapreplace(*args, **kwargs) -> object:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
def nlargest(a: int, b) -> List[object]: pass
|
||||
def nlargest(a: int, b) -> List[object]: ...
|
||||
|
||||
def nsmallest(a: int, b) -> List[object]: pass
|
||||
def nsmallest(a: int, b) -> List[object]: ...
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def coverage(a: str) -> object: pass
|
||||
def coverage(a: str) -> object: ...
|
||||
|
||||
def logreader(a: str) -> LogReaderType:
|
||||
raise IOError()
|
||||
@@ -14,21 +14,21 @@ def logreader(a: str) -> LogReaderType:
|
||||
def profiler(a: str, *args, **kwargs) -> object:
|
||||
raise IOError()
|
||||
|
||||
def resolution() -> tuple: pass
|
||||
def resolution() -> tuple: ...
|
||||
|
||||
|
||||
class LogReaderType(object):
|
||||
def close() -> None: pass
|
||||
def close() -> None: ...
|
||||
def fileno() -> int:
|
||||
raise ValueError()
|
||||
|
||||
class ProfilerType(object):
|
||||
def addinfo(a: str, b: str) -> None: pass
|
||||
def close() -> None: pass
|
||||
def addinfo(a: str, b: str) -> None: ...
|
||||
def close() -> None: ...
|
||||
def fileno() -> int:
|
||||
raise ValueError()
|
||||
def runcall(*args, **kwargs) -> object: pass
|
||||
def runcall(*args, **kwargs) -> object: ...
|
||||
def runcode(a, b, *args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
def start() -> None: pass
|
||||
def stop() -> None: pass
|
||||
def start() -> None: ...
|
||||
def stop() -> None: ...
|
||||
|
||||
@@ -9,10 +9,10 @@ class Random(object):
|
||||
def getrandbits(a: int) -> object:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
def getstate() -> tuple: pass
|
||||
def getstate() -> tuple: ...
|
||||
def jumpahead(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
def random() -> float: pass
|
||||
def random() -> float: ...
|
||||
def seed(*args, **kwargs) -> None:
|
||||
raise MemoryError()
|
||||
def setstate(*args, **kwargs) -> None:
|
||||
|
||||
@@ -13,9 +13,9 @@ copyright = Undefined(str)
|
||||
def compile(a, b: int, c, *args, **kwargs) -> SRE_Pattern:
|
||||
raise OverflowError()
|
||||
|
||||
def getcodesize() -> int: pass
|
||||
def getcodesize() -> int: ...
|
||||
|
||||
def getlower(a: int, b: int) -> int: pass
|
||||
def getlower(a: int, b: int) -> int: ...
|
||||
|
||||
|
||||
class SRE_Match(object):
|
||||
@@ -25,10 +25,10 @@ class SRE_Match(object):
|
||||
raise TypeError()
|
||||
def end(*args, **kwargs) -> int:
|
||||
raise IndexError()
|
||||
def expand(*args, **kwargs) -> object: pass
|
||||
def group(*args, **kwargs) -> tuple: pass
|
||||
def groupdict(*args, **kwargs) -> dict: pass
|
||||
def groups(*args, **kwargs) -> tuple: pass
|
||||
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:
|
||||
@@ -39,15 +39,15 @@ class SRE_Pattern(object):
|
||||
raise TypeError()
|
||||
def __deepcopy__(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
def findall(source, *args, **kwargs) -> List[tuple]: pass
|
||||
def finditer(*args, **kwargs) -> callable_iterator: pass
|
||||
def match(pattern, *args, **kwargs) -> object: pass
|
||||
def scanner(a, *args, **kwargs) -> SRE_Scanner: pass
|
||||
def search(pattern, *args, **kwargs) -> object: pass
|
||||
def split(source, *args, **kwargs) -> List[None]: pass
|
||||
def sub(repl, string, *args, **kwargs) -> tuple: pass
|
||||
def subn(repl, string, *args, **kwargs) -> tuple: pass
|
||||
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: pass
|
||||
def search() -> object: pass
|
||||
def match() -> object: ...
|
||||
def search() -> object: ...
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def _clearcache() -> None: pass
|
||||
def _clearcache() -> None: ...
|
||||
|
||||
def calcsize(*args, **kwargs) -> int: pass
|
||||
def calcsize(*args, **kwargs) -> int: ...
|
||||
|
||||
def pack(*args, **kwargs) -> str:
|
||||
raise TypeError()
|
||||
@@ -15,15 +15,15 @@ def pack(*args, **kwargs) -> str:
|
||||
def pack_into(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
|
||||
def unpack(*args, **kwargs) -> tuple: pass
|
||||
def unpack(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def unpack_from(*args, **kwargs) -> tuple:
|
||||
raise TypeError()
|
||||
|
||||
|
||||
class Struct(object):
|
||||
def __sizeof__() -> long: pass
|
||||
def pack(*args, **kwargs) -> str: pass
|
||||
def pack_into(*args, **kwargs) -> None: pass
|
||||
def unpack(a) -> tuple: pass
|
||||
def unpack_from(*args, **kwargs) -> tuple: pass
|
||||
def __sizeof__() -> long: ...
|
||||
def pack(*args, **kwargs) -> str: ...
|
||||
def pack_into(*args, **kwargs) -> None: ...
|
||||
def unpack(a) -> tuple: ...
|
||||
def unpack_from(*args, **kwargs) -> tuple: ...
|
||||
|
||||
@@ -6,17 +6,17 @@
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
class array(object):
|
||||
def __copy__() -> object: pass
|
||||
def __deepcopy__(*args, **kwargs) -> object: pass
|
||||
def __copy__() -> object: ...
|
||||
def __deepcopy__(*args, **kwargs) -> object: ...
|
||||
def __reduce__() -> tuple:
|
||||
raise AttributeError()
|
||||
def __sizeof__() -> long: pass
|
||||
def append(*args, **kwargs) -> None: pass
|
||||
def buffer_info() -> tuple: pass
|
||||
def __sizeof__() -> long: ...
|
||||
def append(*args, **kwargs) -> None: ...
|
||||
def buffer_info() -> tuple: ...
|
||||
def byteswap() -> None:
|
||||
raise RuntimeError()
|
||||
def count(*args, **kwargs) -> int: pass
|
||||
def extend(*args, **kwargs) -> None: pass
|
||||
def count(*args, **kwargs) -> int: ...
|
||||
def extend(*args, **kwargs) -> None: ...
|
||||
def fromfile(a, b: int) -> None:
|
||||
raise EOFError()
|
||||
raise IOError()
|
||||
@@ -33,18 +33,18 @@ class array(object):
|
||||
raise ValueError()
|
||||
def index(*args, **kwargs) -> int:
|
||||
raise ValueError()
|
||||
def insert(a: int, b) -> None: pass
|
||||
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: pass
|
||||
def reverse() -> None: ...
|
||||
def tofile(*args, **kwargs) -> None:
|
||||
raise IOError()
|
||||
raise TypeError()
|
||||
def tolist() -> list: pass
|
||||
def tolist() -> list: ...
|
||||
def tostring() -> str:
|
||||
raise MemoryError()
|
||||
def tounicode() -> unicode:
|
||||
|
||||
@@ -9,35 +9,35 @@ InputType = Undefined(StringI)
|
||||
OutputType = Undefined(StringO)
|
||||
cStringIO_CAPI = Undefined(object)
|
||||
|
||||
def StringIO(*args, **kwargs) -> object: pass
|
||||
def StringIO(*args, **kwargs) -> object: ...
|
||||
|
||||
|
||||
class StringI(object):
|
||||
def close() -> None: pass
|
||||
def flush() -> None: pass
|
||||
def getvalue(*args, **kwargs) -> str: pass
|
||||
def isatty() -> bool: pass
|
||||
def read(*args, **kwargs) -> str: pass
|
||||
def readline(*args, **kwargs) -> str: pass
|
||||
def readlines(*args, **kwargs) -> List[str]: pass
|
||||
def reset() -> None: pass
|
||||
def seek(a: int, *args, **kwargs) -> None: pass
|
||||
def tell() -> int: pass
|
||||
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: pass
|
||||
def flush() -> None: pass
|
||||
def getvalue(*args, **kwargs) -> str: pass
|
||||
def isatty() -> bool: pass
|
||||
def read(*args, **kwargs) -> str: pass
|
||||
def readline(*args, **kwargs) -> str: pass
|
||||
def readlines(*args, **kwargs) -> List[str]: pass
|
||||
def reset() -> None: pass
|
||||
def seek(a: int, *args, **kwargs) -> None: pass
|
||||
def tell() -> int: pass
|
||||
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: pass
|
||||
def writelines(*args, **kwargs) -> None: pass
|
||||
def write(a) -> None: ...
|
||||
def writelines(*args, **kwargs) -> None: ...
|
||||
|
||||
@@ -5,44 +5,44 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> complex: pass
|
||||
def acos(*args, **kwargs) -> complex: ...
|
||||
|
||||
def acosh(*args, **kwargs) -> complex: pass
|
||||
def acosh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def asin(*args, **kwargs) -> complex: pass
|
||||
def asin(*args, **kwargs) -> complex: ...
|
||||
|
||||
def asinh(*args, **kwargs) -> complex: pass
|
||||
def asinh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def atan(*args, **kwargs) -> complex: pass
|
||||
def atan(*args, **kwargs) -> complex: ...
|
||||
|
||||
def atanh(*args, **kwargs) -> complex: pass
|
||||
def atanh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def cos(*args, **kwargs) -> complex: pass
|
||||
def cos(*args, **kwargs) -> complex: ...
|
||||
|
||||
def cosh(*args, **kwargs) -> complex: pass
|
||||
def cosh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def exp(*args, **kwargs) -> complex: pass
|
||||
def exp(*args, **kwargs) -> complex: ...
|
||||
|
||||
def isinf(a: complex) -> bool: pass
|
||||
def isinf(a: complex) -> bool: ...
|
||||
|
||||
def isnan(a: complex) -> bool: pass
|
||||
def isnan(a: complex) -> bool: ...
|
||||
|
||||
def log(a: complex, *args, **kwargs) -> complex: pass
|
||||
def log(a: complex, *args, **kwargs) -> complex: ...
|
||||
|
||||
def log10(*args, **kwargs) -> complex: pass
|
||||
def log10(*args, **kwargs) -> complex: ...
|
||||
|
||||
def phase(a: complex) -> float: pass
|
||||
def phase(a: complex) -> float: ...
|
||||
|
||||
def polar(a: complex) -> tuple: pass
|
||||
def polar(a: complex) -> tuple: ...
|
||||
|
||||
def rect(a: float, b: float) -> complex: pass
|
||||
def rect(a: float, b: float) -> complex: ...
|
||||
|
||||
def sin(*args, **kwargs) -> complex: pass
|
||||
def sin(*args, **kwargs) -> complex: ...
|
||||
|
||||
def sinh(*args, **kwargs) -> complex: pass
|
||||
def sinh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def sqrt(*args, **kwargs) -> complex: pass
|
||||
def sqrt(*args, **kwargs) -> complex: ...
|
||||
|
||||
def tan(*args, **kwargs) -> complex: pass
|
||||
def tan(*args, **kwargs) -> complex: ...
|
||||
|
||||
def tanh(*args, **kwargs) -> complex: pass
|
||||
def tanh(*args, **kwargs) -> complex: ...
|
||||
|
||||
@@ -12,65 +12,65 @@ resolution = Undefined(object)
|
||||
class date(object):
|
||||
def __format__(a) -> unicode:
|
||||
raise ValueError()
|
||||
def __reduce__() -> tuple: pass
|
||||
def ctime() -> str: pass
|
||||
def __reduce__() -> tuple: ...
|
||||
def ctime() -> str: ...
|
||||
def fromordinal(a: int) -> object:
|
||||
raise ValueError()
|
||||
def fromtimestamp(a: float) -> object: pass
|
||||
def isocalendar() -> tuple: pass
|
||||
def isoformat() -> str: pass
|
||||
def isoweekday() -> int: pass
|
||||
def replace(*args, **kwargs) -> object: pass
|
||||
def strftime(format) -> object: pass
|
||||
def timetuple() -> object: pass
|
||||
def today() -> object: pass
|
||||
def toordinal() -> int: pass
|
||||
def weekday() -> int: pass
|
||||
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: pass
|
||||
def __reduce__() -> tuple: ...
|
||||
def astimezone(tz) -> object:
|
||||
raise ValueError()
|
||||
def combine(date, time) -> object: pass
|
||||
def ctime() -> str: pass
|
||||
def date() -> object: pass
|
||||
def dst() -> object: pass
|
||||
def fromtimestamp(timestamp: float, *args, **kwargs) -> object: pass
|
||||
def isoformat(*args, **kwargs) -> str: pass
|
||||
def now(*args, **kwargs) -> object: pass
|
||||
def replace(*args, **kwargs) -> object: pass
|
||||
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: pass
|
||||
def timetuple() -> object: pass
|
||||
def timetz() -> object: pass
|
||||
def tzname() -> object: pass
|
||||
def utcfromtimestamp(a: float) -> object: pass
|
||||
def utcnow() -> object: pass
|
||||
def utcoffset() -> object: pass
|
||||
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: pass
|
||||
def dst() -> object: pass
|
||||
def isoformat() -> str: pass
|
||||
def replace(*args, **kwargs) -> object: pass
|
||||
def strftime(format) -> object: pass
|
||||
def tzname() -> object: pass
|
||||
def utcoffset() -> object: pass
|
||||
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: pass
|
||||
def total_seconds() -> int: pass
|
||||
def __reduce__() -> tuple: ...
|
||||
def total_seconds() -> int: ...
|
||||
|
||||
class tzinfo(object):
|
||||
def __reduce__() -> tuple: pass
|
||||
def dst(*args, **kwargs) -> object: pass
|
||||
def __reduce__() -> tuple: ...
|
||||
def dst(*args, **kwargs) -> object: ...
|
||||
def fromutc(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
raise ValueError()
|
||||
def tzname(*args, **kwargs) -> object: pass
|
||||
def utcoffset(*args, **kwargs) -> object: pass
|
||||
def tzname(*args, **kwargs) -> object: ...
|
||||
def utcoffset(*args, **kwargs) -> object: ...
|
||||
|
||||
@@ -8,26 +8,26 @@ from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
def collect(*args, **kwargs) -> int:
|
||||
raise ValueError()
|
||||
|
||||
def disable() -> None: pass
|
||||
def disable() -> None: ...
|
||||
|
||||
def enable() -> None: pass
|
||||
def enable() -> None: ...
|
||||
|
||||
def get_count() -> tuple: pass
|
||||
def get_count() -> tuple: ...
|
||||
|
||||
def get_debug() -> int: pass
|
||||
def get_debug() -> int: ...
|
||||
|
||||
def get_objects() -> list: pass
|
||||
def get_objects() -> list: ...
|
||||
|
||||
def get_referents(*args, **kwargs) -> list: pass
|
||||
def get_referents(*args, **kwargs) -> list: ...
|
||||
|
||||
def get_referrers(*args, **kwargs) -> list: pass
|
||||
def get_referrers(*args, **kwargs) -> list: ...
|
||||
|
||||
def get_threshold() -> tuple: pass
|
||||
def get_threshold() -> tuple: ...
|
||||
|
||||
def is_tracked(*args, **kwargs) -> bool: pass
|
||||
def is_tracked(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isenabled() -> bool: pass
|
||||
def isenabled() -> bool: ...
|
||||
|
||||
def set_debug(a: int) -> None: pass
|
||||
def set_debug(a: int) -> None: ...
|
||||
|
||||
def set_threshold(a: int, *args, **kwargs) -> None: pass
|
||||
def set_threshold(a: int, *args, **kwargs) -> None: ...
|
||||
|
||||
@@ -5,86 +5,86 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> float: pass
|
||||
def acos(*args, **kwargs) -> float: ...
|
||||
|
||||
def acosh(*args, **kwargs) -> float: pass
|
||||
def acosh(*args, **kwargs) -> float: ...
|
||||
|
||||
def asin(*args, **kwargs) -> float: pass
|
||||
def asin(*args, **kwargs) -> float: ...
|
||||
|
||||
def asinh(*args, **kwargs) -> float: pass
|
||||
def asinh(*args, **kwargs) -> float: ...
|
||||
|
||||
def atan(*args, **kwargs) -> float: pass
|
||||
def atan(*args, **kwargs) -> float: ...
|
||||
|
||||
def atan2(*args, **kwargs) -> float: pass
|
||||
def atan2(*args, **kwargs) -> float: ...
|
||||
|
||||
def atanh(*args, **kwargs) -> float: pass
|
||||
def atanh(*args, **kwargs) -> float: ...
|
||||
|
||||
def ceil(*args, **kwargs) -> float: pass
|
||||
def ceil(*args, **kwargs) -> float: ...
|
||||
|
||||
def copysign(*args, **kwargs) -> float: pass
|
||||
def copysign(*args, **kwargs) -> float: ...
|
||||
|
||||
def cos(*args, **kwargs) -> float: pass
|
||||
def cos(*args, **kwargs) -> float: ...
|
||||
|
||||
def cosh(*args, **kwargs) -> float: pass
|
||||
def cosh(*args, **kwargs) -> float: ...
|
||||
|
||||
def degrees(*args, **kwargs) -> float: pass
|
||||
def degrees(*args, **kwargs) -> float: ...
|
||||
|
||||
def erf(*args, **kwargs) -> float: pass
|
||||
def erf(*args, **kwargs) -> float: ...
|
||||
|
||||
def erfc(*args, **kwargs) -> float: pass
|
||||
def erfc(*args, **kwargs) -> float: ...
|
||||
|
||||
def exp(*args, **kwargs) -> float: pass
|
||||
def exp(*args, **kwargs) -> float: ...
|
||||
|
||||
def expm1(*args, **kwargs) -> float: pass
|
||||
def expm1(*args, **kwargs) -> float: ...
|
||||
|
||||
def fabs(*args, **kwargs) -> float: pass
|
||||
def fabs(*args, **kwargs) -> float: ...
|
||||
|
||||
def factorial(*args, **kwargs) -> int:
|
||||
raise ValueError()
|
||||
|
||||
def floor(*args, **kwargs) -> float: pass
|
||||
def floor(*args, **kwargs) -> float: ...
|
||||
|
||||
def fmod(*args, **kwargs) -> float: pass
|
||||
def fmod(*args, **kwargs) -> float: ...
|
||||
|
||||
def frexp(*args, **kwargs) -> tuple: pass
|
||||
def frexp(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def fsum(*args, **kwargs) -> float:
|
||||
raise OverflowError()
|
||||
raise ValueError()
|
||||
|
||||
def gamma(*args, **kwargs) -> float: pass
|
||||
def gamma(*args, **kwargs) -> float: ...
|
||||
|
||||
def hypot(*args, **kwargs) -> float: pass
|
||||
def hypot(*args, **kwargs) -> float: ...
|
||||
|
||||
def isinf(*args, **kwargs) -> bool: pass
|
||||
def isinf(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isnan(*args, **kwargs) -> bool: pass
|
||||
def isnan(*args, **kwargs) -> bool: ...
|
||||
|
||||
def ldexp(a: float, b) -> float:
|
||||
raise TypeError()
|
||||
|
||||
def lgamma(*args, **kwargs) -> float: pass
|
||||
def lgamma(*args, **kwargs) -> float: ...
|
||||
|
||||
def log(*args, **kwargs) -> float: pass
|
||||
def log(*args, **kwargs) -> float: ...
|
||||
|
||||
def log10(*args, **kwargs) -> float: pass
|
||||
def log10(*args, **kwargs) -> float: ...
|
||||
|
||||
def log1p(*args, **kwargs) -> float: pass
|
||||
def log1p(*args, **kwargs) -> float: ...
|
||||
|
||||
def modf(*args, **kwargs) -> tuple: pass
|
||||
def modf(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def pow(*args, **kwargs) -> float: pass
|
||||
def pow(*args, **kwargs) -> float: ...
|
||||
|
||||
def radians(*args, **kwargs) -> float: pass
|
||||
def radians(*args, **kwargs) -> float: ...
|
||||
|
||||
def sin(*args, **kwargs) -> float: pass
|
||||
def sin(*args, **kwargs) -> float: ...
|
||||
|
||||
def sinh(*args, **kwargs) -> float: pass
|
||||
def sinh(*args, **kwargs) -> float: ...
|
||||
|
||||
def sqrt(*args, **kwargs) -> float: pass
|
||||
def sqrt(*args, **kwargs) -> float: ...
|
||||
|
||||
def tan(*args, **kwargs) -> float: pass
|
||||
def tan(*args, **kwargs) -> float: ...
|
||||
|
||||
def tanh(*args, **kwargs) -> float: pass
|
||||
def tanh(*args, **kwargs) -> float: ...
|
||||
|
||||
def trunc(*args, **kwargs) -> object: pass
|
||||
def trunc(*args, **kwargs) -> object: ...
|
||||
|
||||
@@ -5,225 +5,225 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def __abs__(*args, **kwargs) -> object: pass
|
||||
def __abs__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __add__(*args, **kwargs) -> object: pass
|
||||
def __add__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __and__(*args, **kwargs) -> object: pass
|
||||
def __and__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __concat__(*args, **kwargs) -> object: pass
|
||||
def __concat__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __contains__(*args, **kwargs) -> bool: pass
|
||||
def __contains__(*args, **kwargs) -> bool: ...
|
||||
|
||||
def __delitem__(*args, **kwargs) -> None: pass
|
||||
def __delitem__(*args, **kwargs) -> None: ...
|
||||
|
||||
def __delslice__(a, b: int, c: int) -> None: pass
|
||||
def __delslice__(a, b: int, c: int) -> None: ...
|
||||
|
||||
def __div__(*args, **kwargs) -> object: pass
|
||||
def __div__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __eq__(*args, **kwargs) -> object: pass
|
||||
def __eq__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __floordiv__(*args, **kwargs) -> object: pass
|
||||
def __floordiv__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __ge__(*args, **kwargs) -> object: pass
|
||||
def __ge__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __getitem__(*args, **kwargs) -> object: pass
|
||||
def __getitem__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __getslice__(a, b: int, c: int) -> object: pass
|
||||
def __getslice__(a, b: int, c: int) -> object: ...
|
||||
|
||||
def __gt__(*args, **kwargs) -> object: pass
|
||||
def __gt__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __iadd__(*args, **kwargs) -> object: pass
|
||||
def __iadd__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __iand__(*args, **kwargs) -> object: pass
|
||||
def __iand__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __iconcat__(*args, **kwargs) -> object: pass
|
||||
def __iconcat__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __idiv__(*args, **kwargs) -> object: pass
|
||||
def __idiv__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __ifloordiv__(*args, **kwargs) -> object: pass
|
||||
def __ifloordiv__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __ilshift__(*args, **kwargs) -> object: pass
|
||||
def __ilshift__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __imod__(*args, **kwargs) -> object: pass
|
||||
def __imod__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __imul__(*args, **kwargs) -> object: pass
|
||||
def __imul__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __index__(*args, **kwargs) -> object: pass
|
||||
def __index__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __inv__(*args, **kwargs) -> object: pass
|
||||
def __inv__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __invert__(*args, **kwargs) -> object: pass
|
||||
def __invert__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __ior__(*args, **kwargs) -> object: pass
|
||||
def __ior__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __ipow__(*args, **kwargs) -> object: pass
|
||||
def __ipow__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __irepeat__(a, b: int) -> object: pass
|
||||
def __irepeat__(a, b: int) -> object: ...
|
||||
|
||||
def __irshift__(*args, **kwargs) -> object: pass
|
||||
def __irshift__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __isub__(*args, **kwargs) -> object: pass
|
||||
def __isub__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __itruediv__(*args, **kwargs) -> object: pass
|
||||
def __itruediv__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __ixor__(*args, **kwargs) -> object: pass
|
||||
def __ixor__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __le__(*args, **kwargs) -> object: pass
|
||||
def __le__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __lshift__(*args, **kwargs) -> object: pass
|
||||
def __lshift__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __lt__(*args, **kwargs) -> object: pass
|
||||
def __lt__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __mod__(*args, **kwargs) -> object: pass
|
||||
def __mod__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __mul__(*args, **kwargs) -> object: pass
|
||||
def __mul__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __ne__(*args, **kwargs) -> object: pass
|
||||
def __ne__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __neg__(*args, **kwargs) -> object: pass
|
||||
def __neg__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __not__(*args, **kwargs) -> bool: pass
|
||||
def __not__(*args, **kwargs) -> bool: ...
|
||||
|
||||
def __or__(*args, **kwargs) -> object: pass
|
||||
def __or__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __pos__(*args, **kwargs) -> object: pass
|
||||
def __pos__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __pow__(*args, **kwargs) -> object: pass
|
||||
def __pow__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __repeat__(a, b: int) -> object: pass
|
||||
def __repeat__(a, b: int) -> object: ...
|
||||
|
||||
def __rshift__(*args, **kwargs) -> object: pass
|
||||
def __rshift__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __setitem__(*args, **kwargs) -> None: pass
|
||||
def __setitem__(*args, **kwargs) -> None: ...
|
||||
|
||||
def __setslice__(a, b: int, c: int, d) -> None: pass
|
||||
def __setslice__(a, b: int, c: int, d) -> None: ...
|
||||
|
||||
def __sub__(*args, **kwargs) -> object: pass
|
||||
def __sub__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __truediv__(*args, **kwargs) -> object: pass
|
||||
def __truediv__(*args, **kwargs) -> object: ...
|
||||
|
||||
def __xor__(*args, **kwargs) -> object: pass
|
||||
def __xor__(*args, **kwargs) -> object: ...
|
||||
|
||||
def abs(*args, **kwargs) -> object: pass
|
||||
def abs(*args, **kwargs) -> object: ...
|
||||
|
||||
def add(*args, **kwargs) -> object: pass
|
||||
def add(*args, **kwargs) -> object: ...
|
||||
|
||||
def and_(*args, **kwargs) -> object: pass
|
||||
def and_(*args, **kwargs) -> object: ...
|
||||
|
||||
def concat(*args, **kwargs) -> object: pass
|
||||
def concat(*args, **kwargs) -> object: ...
|
||||
|
||||
def contains(*args, **kwargs) -> bool: pass
|
||||
def contains(*args, **kwargs) -> bool: ...
|
||||
|
||||
def countOf(*args, **kwargs) -> int: pass
|
||||
def countOf(*args, **kwargs) -> int: ...
|
||||
|
||||
def delitem(*args, **kwargs) -> None: pass
|
||||
def delitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def delslice(a, b: int, c: int) -> None: pass
|
||||
def delslice(a, b: int, c: int) -> None: ...
|
||||
|
||||
def div(*args, **kwargs) -> object: pass
|
||||
def div(*args, **kwargs) -> object: ...
|
||||
|
||||
def eq(*args, **kwargs) -> object: pass
|
||||
def eq(*args, **kwargs) -> object: ...
|
||||
|
||||
def floordiv(*args, **kwargs) -> object: pass
|
||||
def floordiv(*args, **kwargs) -> object: ...
|
||||
|
||||
def ge(*args, **kwargs) -> object: pass
|
||||
def ge(*args, **kwargs) -> object: ...
|
||||
|
||||
def getitem(*args, **kwargs) -> object: pass
|
||||
def getitem(*args, **kwargs) -> object: ...
|
||||
|
||||
def getslice(a, b: int, c: int) -> object: pass
|
||||
def getslice(a, b: int, c: int) -> object: ...
|
||||
|
||||
def gt(*args, **kwargs) -> object: pass
|
||||
def gt(*args, **kwargs) -> object: ...
|
||||
|
||||
def iadd(*args, **kwargs) -> object: pass
|
||||
def iadd(*args, **kwargs) -> object: ...
|
||||
|
||||
def iand(*args, **kwargs) -> object: pass
|
||||
def iand(*args, **kwargs) -> object: ...
|
||||
|
||||
def iconcat(*args, **kwargs) -> object: pass
|
||||
def iconcat(*args, **kwargs) -> object: ...
|
||||
|
||||
def idiv(*args, **kwargs) -> object: pass
|
||||
def idiv(*args, **kwargs) -> object: ...
|
||||
|
||||
def ifloordiv(*args, **kwargs) -> object: pass
|
||||
def ifloordiv(*args, **kwargs) -> object: ...
|
||||
|
||||
def ilshift(*args, **kwargs) -> object: pass
|
||||
def ilshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def imod(*args, **kwargs) -> object: pass
|
||||
def imod(*args, **kwargs) -> object: ...
|
||||
|
||||
def imul(*args, **kwargs) -> object: pass
|
||||
def imul(*args, **kwargs) -> object: ...
|
||||
|
||||
def index(*args, **kwargs) -> object: pass
|
||||
def index(*args, **kwargs) -> object: ...
|
||||
|
||||
def indexOf(*args, **kwargs) -> int: pass
|
||||
def indexOf(*args, **kwargs) -> int: ...
|
||||
|
||||
def inv(*args, **kwargs) -> object: pass
|
||||
def inv(*args, **kwargs) -> object: ...
|
||||
|
||||
def invert(*args, **kwargs) -> object: pass
|
||||
def invert(*args, **kwargs) -> object: ...
|
||||
|
||||
def ior(*args, **kwargs) -> object: pass
|
||||
def ior(*args, **kwargs) -> object: ...
|
||||
|
||||
def ipow(*args, **kwargs) -> object: pass
|
||||
def ipow(*args, **kwargs) -> object: ...
|
||||
|
||||
def irepeat(a, b: int) -> object: pass
|
||||
def irepeat(a, b: int) -> object: ...
|
||||
|
||||
def irshift(*args, **kwargs) -> object: pass
|
||||
def irshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def isCallable(*args, **kwargs) -> bool: pass
|
||||
def isCallable(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isMappingType(*args, **kwargs) -> bool: pass
|
||||
def isMappingType(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isNumberType(*args, **kwargs) -> bool: pass
|
||||
def isNumberType(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isSequenceType(*args, **kwargs) -> bool: pass
|
||||
def isSequenceType(*args, **kwargs) -> bool: ...
|
||||
|
||||
def is_(*args, **kwargs) -> bool: pass
|
||||
def is_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def is_not(*args, **kwargs) -> bool: pass
|
||||
def is_not(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isub(*args, **kwargs) -> object: pass
|
||||
def isub(*args, **kwargs) -> object: ...
|
||||
|
||||
def itruediv(*args, **kwargs) -> object: pass
|
||||
def itruediv(*args, **kwargs) -> object: ...
|
||||
|
||||
def ixor(*args, **kwargs) -> object: pass
|
||||
def ixor(*args, **kwargs) -> object: ...
|
||||
|
||||
def le(*args, **kwargs) -> object: pass
|
||||
def le(*args, **kwargs) -> object: ...
|
||||
|
||||
def lshift(*args, **kwargs) -> object: pass
|
||||
def lshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def lt(*args, **kwargs) -> object: pass
|
||||
def lt(*args, **kwargs) -> object: ...
|
||||
|
||||
def mod(*args, **kwargs) -> object: pass
|
||||
def mod(*args, **kwargs) -> object: ...
|
||||
|
||||
def mul(*args, **kwargs) -> object: pass
|
||||
def mul(*args, **kwargs) -> object: ...
|
||||
|
||||
def ne(*args, **kwargs) -> object: pass
|
||||
def ne(*args, **kwargs) -> object: ...
|
||||
|
||||
def neg(*args, **kwargs) -> object: pass
|
||||
def neg(*args, **kwargs) -> object: ...
|
||||
|
||||
def not_(*args, **kwargs) -> bool: pass
|
||||
def not_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def or_(*args, **kwargs) -> object: pass
|
||||
def or_(*args, **kwargs) -> object: ...
|
||||
|
||||
def pos(*args, **kwargs) -> object: pass
|
||||
def pos(*args, **kwargs) -> object: ...
|
||||
|
||||
def pow(*args, **kwargs) -> object: pass
|
||||
def pow(*args, **kwargs) -> object: ...
|
||||
|
||||
def repeat(a, b: int) -> object: pass
|
||||
def repeat(a, b: int) -> object: ...
|
||||
|
||||
def rshift(*args, **kwargs) -> object: pass
|
||||
def rshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def sequenceIncludes(*args, **kwargs) -> bool: pass
|
||||
def sequenceIncludes(*args, **kwargs) -> bool: ...
|
||||
|
||||
def setitem(*args, **kwargs) -> None: pass
|
||||
def setitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def setslice(a, b: int, c: int, d) -> None: pass
|
||||
def setslice(a, b: int, c: int, d) -> None: ...
|
||||
|
||||
def sub(*args, **kwargs) -> object: pass
|
||||
def sub(*args, **kwargs) -> object: ...
|
||||
|
||||
def truediv(*args, **kwargs) -> object: pass
|
||||
def truediv(*args, **kwargs) -> object: ...
|
||||
|
||||
def truth(*args, **kwargs) -> bool: pass
|
||||
def truth(*args, **kwargs) -> bool: ...
|
||||
|
||||
def xor(*args, **kwargs) -> object: pass
|
||||
def xor(*args, **kwargs) -> object: ...
|
||||
|
||||
|
||||
class attrgetter(object):
|
||||
|
||||
@@ -48,22 +48,22 @@ SIGXFSZ = Undefined(int)
|
||||
SIG_DFL = Undefined(long)
|
||||
SIG_IGN = Undefined(long)
|
||||
|
||||
def alarm(a: int) -> int: pass
|
||||
def alarm(a: int) -> int: ...
|
||||
|
||||
def default_int_handler(*args, **kwargs) -> object:
|
||||
raise KeyboardInterrupt()
|
||||
|
||||
def getitimer(a: int) -> tuple: pass
|
||||
def getitimer(a: int) -> tuple: ...
|
||||
|
||||
def getsignal(a: int) -> None:
|
||||
raise ValueError()
|
||||
|
||||
def pause() -> None: pass
|
||||
def pause() -> None: ...
|
||||
|
||||
def set_wakeup_fd(a: int) -> long:
|
||||
raise ValueError()
|
||||
|
||||
def setitimer(a: int, b: float, *args, **kwargs) -> tuple: pass
|
||||
def setitimer(a: int, b: float, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def siginterrupt(a: int, b: int) -> None:
|
||||
raise RuntimeError()
|
||||
|
||||
@@ -8,11 +8,11 @@ from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
LockType = Undefined(lock)
|
||||
error = Undefined(object)
|
||||
|
||||
def _count() -> int: pass
|
||||
def _count() -> int: ...
|
||||
|
||||
def allocate() -> lock: pass
|
||||
def allocate() -> lock: ...
|
||||
|
||||
def allocate_lock() -> lock: pass
|
||||
def allocate_lock() -> lock: ...
|
||||
|
||||
def exit() -> object:
|
||||
raise SystemExit()
|
||||
@@ -20,9 +20,9 @@ def exit() -> object:
|
||||
def exit_thread() -> object:
|
||||
raise SystemExit()
|
||||
|
||||
def get_ident() -> int: pass
|
||||
def get_ident() -> int: ...
|
||||
|
||||
def interrupt_main() -> None: pass
|
||||
def interrupt_main() -> None: ...
|
||||
|
||||
def stack_size(*args, **kwargs) -> int:
|
||||
raise ValueError()
|
||||
@@ -43,11 +43,11 @@ class _localdummy(object):
|
||||
pass
|
||||
|
||||
class lock(object):
|
||||
def __enter__(*args, **kwargs) -> bool: pass
|
||||
def __exit__(*args, **kwargs) -> None: pass
|
||||
def acquire(*args, **kwargs) -> bool: pass
|
||||
def acquire_lock(*args, **kwargs) -> bool: pass
|
||||
def locked() -> bool: pass
|
||||
def locked_lock() -> bool: pass
|
||||
def release() -> None: pass
|
||||
def release_lock() -> None: pass
|
||||
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: ...
|
||||
|
||||
@@ -8,27 +8,27 @@ from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
def asctime(*args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
|
||||
def clock() -> float: pass
|
||||
def clock() -> float: ...
|
||||
|
||||
def ctime(*args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
|
||||
def gmtime(*args, **kwargs) -> tuple: pass
|
||||
def gmtime(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def localtime(*args, **kwargs) -> tuple: pass
|
||||
def localtime(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def mktime(*args, **kwargs) -> float:
|
||||
raise OverflowError()
|
||||
|
||||
def sleep(a: float) -> None: pass
|
||||
def sleep(a: float) -> None: ...
|
||||
|
||||
def strftime(a: str, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def strptime(*args, **kwargs) -> object: pass
|
||||
def strptime(*args, **kwargs) -> object: ...
|
||||
|
||||
def time() -> float:
|
||||
raise IOError()
|
||||
|
||||
def tzset() -> None: pass
|
||||
def tzset() -> None: ...
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def bench(a, b: str, *args, **kwargs) -> float: pass
|
||||
def bench(a, b: str, *args, **kwargs) -> float: ...
|
||||
|
||||
|
||||
class spamdict(object):
|
||||
def getstate() -> int: pass
|
||||
def setstate(a: int) -> None: pass
|
||||
def getstate() -> int: ...
|
||||
def setstate(a: int) -> None: ...
|
||||
|
||||
class spamlist(object):
|
||||
def classmeth(*args, **kwargs) -> tuple: pass
|
||||
def getstate() -> int: pass
|
||||
def setstate(a: int) -> None: pass
|
||||
def staticmeth(*args, **kwargs) -> tuple: pass
|
||||
def classmeth(*args, **kwargs) -> tuple: ...
|
||||
def getstate() -> int: ...
|
||||
def setstate(a: int) -> None: ...
|
||||
def staticmeth(*args, **kwargs) -> tuple: ...
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
class zipimporter(object):
|
||||
def find_module(a: str, *args, **kwargs) -> None: pass
|
||||
def get_code(a: str) -> object: pass
|
||||
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: pass
|
||||
def get_source(a: str) -> object: pass
|
||||
def is_package(a: str) -> bool: pass
|
||||
def load_module(a: str) -> object: pass
|
||||
def get_filename(a: str) -> str: ...
|
||||
def get_source(a: str) -> object: ...
|
||||
def is_package(a: str) -> bool: ...
|
||||
def load_module(a: str) -> object: ...
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def adler32(a, *args, **kwargs) -> int: pass
|
||||
def adler32(a, *args, **kwargs) -> int: ...
|
||||
|
||||
def compress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
@@ -14,7 +14,7 @@ def compressobj(*args, **kwargs) -> object:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def crc32(a, *args, **kwargs) -> int: pass
|
||||
def crc32(a, *args, **kwargs) -> int: ...
|
||||
|
||||
def decompress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
Reference in New Issue
Block a user