mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
use '-> Any' instead of '-> object'
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def bisect(a, x, *args, **kwargs) -> int: ...
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def ascii_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
@@ -11,15 +11,15 @@ def ascii_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charbuffer_encode(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_build(a: str) -> object: ...
|
||||
def charmap_build(a: str) -> Any: ...
|
||||
|
||||
def charmap_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def decode(a, *args, **kwargs) -> object: ...
|
||||
def decode(a, *args, **kwargs) -> Any: ...
|
||||
|
||||
def encode(a, *args, **kwargs) -> object: ...
|
||||
def encode(a, *args, **kwargs) -> Any: ...
|
||||
|
||||
def escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
@@ -29,9 +29,9 @@ def latin_1_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def latin_1_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def lookup(a: str) -> object: ...
|
||||
def lookup(a: str) -> Any: ...
|
||||
|
||||
def lookup_error(a: str) -> object: ...
|
||||
def lookup_error(a: str) -> Any: ...
|
||||
|
||||
def raw_unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
class defaultdict(object):
|
||||
def __copy__() -> object: ...
|
||||
def __missing__(*args, **kwargs) -> object:
|
||||
def __copy__() -> Any: ...
|
||||
def __missing__(*args, **kwargs) -> Any:
|
||||
raise KeyError()
|
||||
def __reduce__() -> tuple: ...
|
||||
def copy() -> object: ...
|
||||
def copy() -> Any: ...
|
||||
|
||||
class deque(object):
|
||||
def __copy__() -> object: ...
|
||||
def __copy__() -> Any: ...
|
||||
def __reduce__() -> tuple: ...
|
||||
def __reversed__() -> object: ...
|
||||
def __reversed__() -> Any: ...
|
||||
def __sizeof__() -> long: ...
|
||||
def append(*args, **kwargs) -> None: ...
|
||||
def appendleft(*args, **kwargs) -> None: ...
|
||||
@@ -24,9 +24,9 @@ class deque(object):
|
||||
raise RuntimeError()
|
||||
def extend(*args, **kwargs) -> None: ...
|
||||
def extendleft(*args, **kwargs) -> None: ...
|
||||
def pop() -> object:
|
||||
def pop() -> Any:
|
||||
raise IndexError()
|
||||
def popleft() -> object:
|
||||
def popleft() -> Any:
|
||||
raise IndexError()
|
||||
def remove(*args, **kwargs) -> None:
|
||||
raise IndexError()
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def reduce(*args, **kwargs) -> object:
|
||||
def reduce(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
|
||||
|
||||
@@ -3,22 +3,22 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def heapify(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
|
||||
def heappop(*args, **kwargs) -> object:
|
||||
def heappop(*args, **kwargs) -> Any:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
def heappush(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
|
||||
def heappushpop(*args, **kwargs) -> object:
|
||||
def heappushpop(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
def heapreplace(*args, **kwargs) -> object:
|
||||
def heapreplace(*args, **kwargs) -> Any:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def coverage(a: str) -> object: ...
|
||||
def coverage(a: str) -> Any: ...
|
||||
|
||||
def logreader(a: str) -> LogReaderType:
|
||||
raise IOError()
|
||||
raise RuntimeError()
|
||||
|
||||
def profiler(a: str, *args, **kwargs) -> object:
|
||||
def profiler(a: str, *args, **kwargs) -> Any:
|
||||
raise IOError()
|
||||
|
||||
def resolution() -> tuple: ...
|
||||
@@ -27,8 +27,8 @@ class ProfilerType(object):
|
||||
def close() -> None: ...
|
||||
def fileno() -> int:
|
||||
raise ValueError()
|
||||
def runcall(*args, **kwargs) -> object: ...
|
||||
def runcode(a, b, *args, **kwargs) -> object:
|
||||
def runcall(*args, **kwargs) -> Any: ...
|
||||
def runcode(a, b, *args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
def start() -> None: ...
|
||||
def stop() -> None: ...
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def encode_basestring_ascii(*args, **kwargs) -> str:
|
||||
raise TypeError()
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
class Random(object):
|
||||
def getrandbits(a: int) -> object:
|
||||
def getrandbits(a: int) -> Any:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
def getstate() -> tuple: ...
|
||||
|
||||
20
2.7/_sre.pyi
20
2.7/_sre.pyi
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
CODESIZE = ... # type: int
|
||||
MAGIC = ... # type: int
|
||||
@@ -19,13 +19,13 @@ def getlower(a: int, b: int) -> int: ...
|
||||
|
||||
|
||||
class SRE_Match(object):
|
||||
def __copy__() -> object:
|
||||
def __copy__() -> Any:
|
||||
raise TypeError()
|
||||
def __deepcopy__(*args, **kwargs) -> object:
|
||||
def __deepcopy__(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
def end(*args, **kwargs) -> int:
|
||||
raise IndexError()
|
||||
def expand(*args, **kwargs) -> object: ...
|
||||
def expand(*args, **kwargs) -> Any: ...
|
||||
def group(*args, **kwargs) -> tuple: ...
|
||||
def groupdict(*args, **kwargs) -> dict: ...
|
||||
def groups(*args, **kwargs) -> tuple: ...
|
||||
@@ -35,19 +35,19 @@ class SRE_Match(object):
|
||||
raise IndexError()
|
||||
|
||||
class SRE_Pattern(object):
|
||||
def __copy__() -> object:
|
||||
def __copy__() -> Any:
|
||||
raise TypeError()
|
||||
def __deepcopy__(*args, **kwargs) -> object:
|
||||
def __deepcopy__(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
def findall(source, *args, **kwargs) -> List[tuple]: ...
|
||||
def finditer(*args, **kwargs) -> callable_iterator: ...
|
||||
def match(pattern, *args, **kwargs) -> object: ...
|
||||
def match(pattern, *args, **kwargs) -> Any: ...
|
||||
def scanner(a, *args, **kwargs) -> SRE_Scanner: ...
|
||||
def search(pattern, *args, **kwargs) -> object: ...
|
||||
def search(pattern, *args, **kwargs) -> Any: ...
|
||||
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: ...
|
||||
def match() -> Any: ...
|
||||
def search() -> Any: ...
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def _clearcache() -> None: ...
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
class array(object):
|
||||
def __copy__() -> object: ...
|
||||
def __deepcopy__(*args, **kwargs) -> object: ...
|
||||
def __copy__() -> Any: ...
|
||||
def __deepcopy__(*args, **kwargs) -> Any: ...
|
||||
def __reduce__() -> tuple:
|
||||
raise AttributeError()
|
||||
def __sizeof__() -> long: ...
|
||||
@@ -34,7 +34,7 @@ class array(object):
|
||||
def index(*args, **kwargs) -> int:
|
||||
raise ValueError()
|
||||
def insert(a: int, b) -> None: ...
|
||||
def pop(*args, **kwargs) -> object:
|
||||
def pop(*args, **kwargs) -> Any:
|
||||
raise IndexError()
|
||||
def read(*args, **kwargs) -> None:
|
||||
raise DeprecationWarning()
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
InputType = ... # type: StringI
|
||||
OutputType = ... # type: StringO
|
||||
cStringIO_CAPI = ... # type: object
|
||||
|
||||
def StringIO(*args, **kwargs) -> object: ...
|
||||
def StringIO(*args, **kwargs) -> Any: ...
|
||||
|
||||
|
||||
class StringI(object):
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> complex: ...
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
max = ... # type: object
|
||||
min = ... # type: object
|
||||
@@ -14,53 +14,53 @@ class date(object):
|
||||
raise ValueError()
|
||||
def __reduce__() -> tuple: ...
|
||||
def ctime() -> str: ...
|
||||
def fromordinal(a: int) -> object:
|
||||
def fromordinal(a: int) -> Any:
|
||||
raise ValueError()
|
||||
def fromtimestamp(a: float) -> object: ...
|
||||
def fromtimestamp(a: float) -> Any: ...
|
||||
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 replace(*args, **kwargs) -> Any: ...
|
||||
def strftime(format) -> Any: ...
|
||||
def timetuple() -> Any: ...
|
||||
def today() -> Any: ...
|
||||
def toordinal() -> int: ...
|
||||
def weekday() -> int: ...
|
||||
|
||||
class datetime(object):
|
||||
def __reduce__() -> tuple: ...
|
||||
def astimezone(tz) -> object:
|
||||
def astimezone(tz) -> Any:
|
||||
raise ValueError()
|
||||
def combine(date, time) -> object: ...
|
||||
def combine(date, time) -> Any: ...
|
||||
def ctime() -> str: ...
|
||||
def date() -> object: ...
|
||||
def dst() -> object: ...
|
||||
def fromtimestamp(timestamp: float, *args, **kwargs) -> object: ...
|
||||
def date() -> Any: ...
|
||||
def dst() -> Any: ...
|
||||
def fromtimestamp(timestamp: float, *args, **kwargs) -> Any: ...
|
||||
def isoformat(*args, **kwargs) -> str: ...
|
||||
def now(*args, **kwargs) -> object: ...
|
||||
def replace(*args, **kwargs) -> object: ...
|
||||
def strptime(a: str, b: str) -> object:
|
||||
def now(*args, **kwargs) -> Any: ...
|
||||
def replace(*args, **kwargs) -> Any: ...
|
||||
def strptime(a: str, b: str) -> Any:
|
||||
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:
|
||||
def time() -> Any: ...
|
||||
def timetuple() -> Any: ...
|
||||
def timetz() -> Any: ...
|
||||
def tzname() -> Any: ...
|
||||
def utcfromtimestamp(a: float) -> Any: ...
|
||||
def utcnow() -> Any: ...
|
||||
def utcoffset() -> Any: ...
|
||||
def utctimetuple() -> Any:
|
||||
raise OverflowError()
|
||||
|
||||
class time(object):
|
||||
def __format__(a) -> unicode:
|
||||
raise ValueError()
|
||||
def __reduce__() -> tuple: ...
|
||||
def dst() -> object: ...
|
||||
def dst() -> Any: ...
|
||||
def isoformat() -> str: ...
|
||||
def replace(*args, **kwargs) -> object: ...
|
||||
def strftime(format) -> object: ...
|
||||
def tzname() -> object: ...
|
||||
def utcoffset() -> object: ...
|
||||
def replace(*args, **kwargs) -> Any: ...
|
||||
def strftime(format) -> Any: ...
|
||||
def tzname() -> Any: ...
|
||||
def utcoffset() -> Any: ...
|
||||
|
||||
class timedelta(object):
|
||||
def __reduce__() -> tuple: ...
|
||||
@@ -68,9 +68,9 @@ class timedelta(object):
|
||||
|
||||
class tzinfo(object):
|
||||
def __reduce__() -> tuple: ...
|
||||
def dst(*args, **kwargs) -> object: ...
|
||||
def fromutc(*args, **kwargs) -> object:
|
||||
def dst(*args, **kwargs) -> Any: ...
|
||||
def fromutc(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
raise ValueError()
|
||||
def tzname(*args, **kwargs) -> object: ...
|
||||
def utcoffset(*args, **kwargs) -> object: ...
|
||||
def tzname(*args, **kwargs) -> Any: ...
|
||||
def utcoffset(*args, **kwargs) -> Any: ...
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def collect(*args, **kwargs) -> int:
|
||||
raise ValueError()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> float: ...
|
||||
|
||||
@@ -87,4 +87,4 @@ def tan(*args, **kwargs) -> float: ...
|
||||
|
||||
def tanh(*args, **kwargs) -> float: ...
|
||||
|
||||
def trunc(*args, **kwargs) -> object: ...
|
||||
def trunc(*args, **kwargs) -> Any: ...
|
||||
|
||||
178
2.7/operator.pyi
178
2.7/operator.pyi
@@ -3,15 +3,15 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def __abs__(*args, **kwargs) -> object: ...
|
||||
def __abs__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __add__(*args, **kwargs) -> object: ...
|
||||
def __add__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __and__(*args, **kwargs) -> object: ...
|
||||
def __and__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __concat__(*args, **kwargs) -> object: ...
|
||||
def __concat__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __contains__(*args, **kwargs) -> bool: ...
|
||||
|
||||
@@ -19,99 +19,99 @@ def __delitem__(*args, **kwargs) -> None: ...
|
||||
|
||||
def __delslice__(a, b: int, c: int) -> None: ...
|
||||
|
||||
def __div__(*args, **kwargs) -> object: ...
|
||||
def __div__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __eq__(*args, **kwargs) -> object: ...
|
||||
def __eq__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __floordiv__(*args, **kwargs) -> object: ...
|
||||
def __floordiv__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __ge__(*args, **kwargs) -> object: ...
|
||||
def __ge__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __getitem__(*args, **kwargs) -> object: ...
|
||||
def __getitem__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __getslice__(a, b: int, c: int) -> object: ...
|
||||
def __getslice__(a, b: int, c: int) -> Any: ...
|
||||
|
||||
def __gt__(*args, **kwargs) -> object: ...
|
||||
def __gt__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __iadd__(*args, **kwargs) -> object: ...
|
||||
def __iadd__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __iand__(*args, **kwargs) -> object: ...
|
||||
def __iand__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __iconcat__(*args, **kwargs) -> object: ...
|
||||
def __iconcat__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __idiv__(*args, **kwargs) -> object: ...
|
||||
def __idiv__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __ifloordiv__(*args, **kwargs) -> object: ...
|
||||
def __ifloordiv__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __ilshift__(*args, **kwargs) -> object: ...
|
||||
def __ilshift__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __imod__(*args, **kwargs) -> object: ...
|
||||
def __imod__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __imul__(*args, **kwargs) -> object: ...
|
||||
def __imul__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __index__(*args, **kwargs) -> object: ...
|
||||
def __index__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __inv__(*args, **kwargs) -> object: ...
|
||||
def __inv__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __invert__(*args, **kwargs) -> object: ...
|
||||
def __invert__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __ior__(*args, **kwargs) -> object: ...
|
||||
def __ior__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __ipow__(*args, **kwargs) -> object: ...
|
||||
def __ipow__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __irepeat__(a, b: int) -> object: ...
|
||||
def __irepeat__(a, b: int) -> Any: ...
|
||||
|
||||
def __irshift__(*args, **kwargs) -> object: ...
|
||||
def __irshift__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __isub__(*args, **kwargs) -> object: ...
|
||||
def __isub__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __itruediv__(*args, **kwargs) -> object: ...
|
||||
def __itruediv__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __ixor__(*args, **kwargs) -> object: ...
|
||||
def __ixor__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __le__(*args, **kwargs) -> object: ...
|
||||
def __le__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __lshift__(*args, **kwargs) -> object: ...
|
||||
def __lshift__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __lt__(*args, **kwargs) -> object: ...
|
||||
def __lt__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __mod__(*args, **kwargs) -> object: ...
|
||||
def __mod__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __mul__(*args, **kwargs) -> object: ...
|
||||
def __mul__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __ne__(*args, **kwargs) -> object: ...
|
||||
def __ne__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __neg__(*args, **kwargs) -> object: ...
|
||||
def __neg__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __not__(*args, **kwargs) -> bool: ...
|
||||
|
||||
def __or__(*args, **kwargs) -> object: ...
|
||||
def __or__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __pos__(*args, **kwargs) -> object: ...
|
||||
def __pos__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __pow__(*args, **kwargs) -> object: ...
|
||||
def __pow__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __repeat__(a, b: int) -> object: ...
|
||||
def __repeat__(a, b: int) -> Any: ...
|
||||
|
||||
def __rshift__(*args, **kwargs) -> object: ...
|
||||
def __rshift__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __setitem__(*args, **kwargs) -> None: ...
|
||||
|
||||
def __setslice__(a, b: int, c: int, d) -> None: ...
|
||||
|
||||
def __sub__(*args, **kwargs) -> object: ...
|
||||
def __sub__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __truediv__(*args, **kwargs) -> object: ...
|
||||
def __truediv__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def __xor__(*args, **kwargs) -> object: ...
|
||||
def __xor__(*args, **kwargs) -> Any: ...
|
||||
|
||||
def abs(*args, **kwargs) -> object: ...
|
||||
def abs(*args, **kwargs) -> Any: ...
|
||||
|
||||
def add(*args, **kwargs) -> object: ...
|
||||
def add(*args, **kwargs) -> Any: ...
|
||||
|
||||
def and_(*args, **kwargs) -> object: ...
|
||||
def and_(*args, **kwargs) -> Any: ...
|
||||
|
||||
def concat(*args, **kwargs) -> object: ...
|
||||
def concat(*args, **kwargs) -> Any: ...
|
||||
|
||||
def contains(*args, **kwargs) -> bool: ...
|
||||
|
||||
@@ -121,51 +121,51 @@ def delitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def delslice(a, b: int, c: int) -> None: ...
|
||||
|
||||
def div(*args, **kwargs) -> object: ...
|
||||
def div(*args, **kwargs) -> Any: ...
|
||||
|
||||
def eq(*args, **kwargs) -> object: ...
|
||||
def eq(*args, **kwargs) -> Any: ...
|
||||
|
||||
def floordiv(*args, **kwargs) -> object: ...
|
||||
def floordiv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ge(*args, **kwargs) -> object: ...
|
||||
def ge(*args, **kwargs) -> Any: ...
|
||||
|
||||
def getitem(*args, **kwargs) -> object: ...
|
||||
def getitem(*args, **kwargs) -> Any: ...
|
||||
|
||||
def getslice(a, b: int, c: int) -> object: ...
|
||||
def getslice(a, b: int, c: int) -> Any: ...
|
||||
|
||||
def gt(*args, **kwargs) -> object: ...
|
||||
def gt(*args, **kwargs) -> Any: ...
|
||||
|
||||
def iadd(*args, **kwargs) -> object: ...
|
||||
def iadd(*args, **kwargs) -> Any: ...
|
||||
|
||||
def iand(*args, **kwargs) -> object: ...
|
||||
def iand(*args, **kwargs) -> Any: ...
|
||||
|
||||
def iconcat(*args, **kwargs) -> object: ...
|
||||
def iconcat(*args, **kwargs) -> Any: ...
|
||||
|
||||
def idiv(*args, **kwargs) -> object: ...
|
||||
def idiv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ifloordiv(*args, **kwargs) -> object: ...
|
||||
def ifloordiv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ilshift(*args, **kwargs) -> object: ...
|
||||
def ilshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def imod(*args, **kwargs) -> object: ...
|
||||
def imod(*args, **kwargs) -> Any: ...
|
||||
|
||||
def imul(*args, **kwargs) -> object: ...
|
||||
def imul(*args, **kwargs) -> Any: ...
|
||||
|
||||
def index(*args, **kwargs) -> object: ...
|
||||
def index(*args, **kwargs) -> Any: ...
|
||||
|
||||
def indexOf(*args, **kwargs) -> int: ...
|
||||
|
||||
def inv(*args, **kwargs) -> object: ...
|
||||
def inv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def invert(*args, **kwargs) -> object: ...
|
||||
def invert(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ior(*args, **kwargs) -> object: ...
|
||||
def ior(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ipow(*args, **kwargs) -> object: ...
|
||||
def ipow(*args, **kwargs) -> Any: ...
|
||||
|
||||
def irepeat(a, b: int) -> object: ...
|
||||
def irepeat(a, b: int) -> Any: ...
|
||||
|
||||
def irshift(*args, **kwargs) -> object: ...
|
||||
def irshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def isCallable(*args, **kwargs) -> bool: ...
|
||||
|
||||
@@ -179,37 +179,37 @@ def is_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def is_not(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isub(*args, **kwargs) -> object: ...
|
||||
def isub(*args, **kwargs) -> Any: ...
|
||||
|
||||
def itruediv(*args, **kwargs) -> object: ...
|
||||
def itruediv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ixor(*args, **kwargs) -> object: ...
|
||||
def ixor(*args, **kwargs) -> Any: ...
|
||||
|
||||
def le(*args, **kwargs) -> object: ...
|
||||
def le(*args, **kwargs) -> Any: ...
|
||||
|
||||
def lshift(*args, **kwargs) -> object: ...
|
||||
def lshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def lt(*args, **kwargs) -> object: ...
|
||||
def lt(*args, **kwargs) -> Any: ...
|
||||
|
||||
def mod(*args, **kwargs) -> object: ...
|
||||
def mod(*args, **kwargs) -> Any: ...
|
||||
|
||||
def mul(*args, **kwargs) -> object: ...
|
||||
def mul(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ne(*args, **kwargs) -> object: ...
|
||||
def ne(*args, **kwargs) -> Any: ...
|
||||
|
||||
def neg(*args, **kwargs) -> object: ...
|
||||
def neg(*args, **kwargs) -> Any: ...
|
||||
|
||||
def not_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def or_(*args, **kwargs) -> object: ...
|
||||
def or_(*args, **kwargs) -> Any: ...
|
||||
|
||||
def pos(*args, **kwargs) -> object: ...
|
||||
def pos(*args, **kwargs) -> Any: ...
|
||||
|
||||
def pow(*args, **kwargs) -> object: ...
|
||||
def pow(*args, **kwargs) -> Any: ...
|
||||
|
||||
def repeat(a, b: int) -> object: ...
|
||||
def repeat(a, b: int) -> Any: ...
|
||||
|
||||
def rshift(*args, **kwargs) -> object: ...
|
||||
def rshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def sequenceIncludes(*args, **kwargs) -> bool: ...
|
||||
|
||||
@@ -217,13 +217,13 @@ def setitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def setslice(a, b: int, c: int, d) -> None: ...
|
||||
|
||||
def sub(*args, **kwargs) -> object: ...
|
||||
def sub(*args, **kwargs) -> Any: ...
|
||||
|
||||
def truediv(*args, **kwargs) -> object: ...
|
||||
def truediv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def truth(*args, **kwargs) -> bool: ...
|
||||
|
||||
def xor(*args, **kwargs) -> object: ...
|
||||
def xor(*args, **kwargs) -> Any: ...
|
||||
|
||||
|
||||
class attrgetter(object):
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
ITIMER_PROF = ... # type: long
|
||||
ITIMER_REAL = ... # type: long
|
||||
@@ -50,7 +50,7 @@ SIG_IGN = ... # type: long
|
||||
|
||||
def alarm(a: int) -> int: ...
|
||||
|
||||
def default_int_handler(*args, **kwargs) -> object:
|
||||
def default_int_handler(*args, **kwargs) -> Any:
|
||||
raise KeyboardInterrupt()
|
||||
|
||||
def getitimer(a: int) -> tuple: ...
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def atof(a: str) -> float:
|
||||
raise DeprecationWarning()
|
||||
@@ -31,12 +31,12 @@ def expandtabs(a, *args, **kwargs) -> str:
|
||||
def find(*args, **kwargs) -> int:
|
||||
raise DeprecationWarning()
|
||||
|
||||
def join(*args, **kwargs) -> object:
|
||||
def join(*args, **kwargs) -> Any:
|
||||
raise DeprecationWarning()
|
||||
raise OverflowError()
|
||||
raise TypeError()
|
||||
|
||||
def joinfields(*args, **kwargs) -> object:
|
||||
def joinfields(*args, **kwargs) -> Any:
|
||||
raise DeprecationWarning()
|
||||
raise OverflowError()
|
||||
raise TypeError()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
LockType = ... # type: lock
|
||||
error = ... # type: object
|
||||
@@ -14,10 +14,10 @@ def allocate() -> lock: ...
|
||||
|
||||
def allocate_lock() -> lock: ...
|
||||
|
||||
def exit() -> object:
|
||||
def exit() -> Any:
|
||||
raise SystemExit()
|
||||
|
||||
def exit_thread() -> object:
|
||||
def exit_thread() -> Any:
|
||||
raise SystemExit()
|
||||
|
||||
def get_ident() -> int: ...
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def asctime(*args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
@@ -26,7 +26,7 @@ def strftime(a: str, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def strptime(*args, **kwargs) -> object: ...
|
||||
def strptime(*args, **kwargs) -> Any: ...
|
||||
|
||||
def time() -> float:
|
||||
raise IOError()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def bench(a, b: str, *args, **kwargs) -> float: ...
|
||||
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
class zipimporter(object):
|
||||
def find_module(a: str, *args, **kwargs) -> None: ...
|
||||
def get_code(a: str) -> object: ...
|
||||
def get_code(a: str) -> Any: ...
|
||||
def get_data(a: str) -> str:
|
||||
raise IOError()
|
||||
def get_filename(a: str) -> str: ...
|
||||
def get_source(a: str) -> object: ...
|
||||
def get_source(a: str) -> Any: ...
|
||||
def is_package(a: str) -> bool: ...
|
||||
def load_module(a: str) -> object: ...
|
||||
def load_module(a: str) -> Any: ...
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def adler32(a, *args, **kwargs) -> int: ...
|
||||
|
||||
def compress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
def compressobj(*args, **kwargs) -> object:
|
||||
def compressobj(*args, **kwargs) -> Any:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
@@ -19,7 +19,7 @@ def crc32(a, *args, **kwargs) -> int: ...
|
||||
def decompress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
def decompressobj(*args, **kwargs) -> object:
|
||||
def decompressobj(*args, **kwargs) -> Any:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def bisect(a, x, *args, **kwargs) -> long: ...
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def _forget_codec(a: str) -> None: ...
|
||||
|
||||
@@ -11,15 +11,15 @@ def ascii_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def ascii_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_build(a: str) -> object: ...
|
||||
def charmap_build(a: str) -> Any: ...
|
||||
|
||||
def charmap_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def decode(a, *args, **kwargs) -> object: ...
|
||||
def decode(a, *args, **kwargs) -> Any: ...
|
||||
|
||||
def encode(a, *args, **kwargs) -> object: ...
|
||||
def encode(a, *args, **kwargs) -> Any: ...
|
||||
|
||||
def escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
@@ -30,9 +30,9 @@ def latin_1_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def latin_1_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def lookup(a: str) -> object: ...
|
||||
def lookup(a: str) -> Any: ...
|
||||
|
||||
def lookup_error(a: str) -> object: ...
|
||||
def lookup_error(a: str) -> Any: ...
|
||||
|
||||
def raw_unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
|
||||
@@ -3,22 +3,22 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def heapify(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
|
||||
def heappop(*args, **kwargs) -> object:
|
||||
def heappop(*args, **kwargs) -> Any:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
def heappush(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
|
||||
def heappushpop(*args, **kwargs) -> object:
|
||||
def heappushpop(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
def heapreplace(*args, **kwargs) -> object:
|
||||
def heapreplace(*args, **kwargs) -> Any:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def encode_basestring_ascii(*args, **kwargs) -> object:
|
||||
def encode_basestring_ascii(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
def scanstring(a, b: int, *args, **kwargs) -> tuple:
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def _compare_digest(a, b) -> bool:
|
||||
raise BufferError()
|
||||
raise TypeError()
|
||||
|
||||
def abs(*args, **kwargs) -> object: ...
|
||||
def abs(*args, **kwargs) -> Any: ...
|
||||
|
||||
def add(*args, **kwargs) -> object: ...
|
||||
def add(*args, **kwargs) -> Any: ...
|
||||
|
||||
def and_(*args, **kwargs) -> object: ...
|
||||
def and_(*args, **kwargs) -> Any: ...
|
||||
|
||||
def concat(*args, **kwargs) -> object: ...
|
||||
def concat(*args, **kwargs) -> Any: ...
|
||||
|
||||
def contains(*args, **kwargs) -> bool: ...
|
||||
|
||||
@@ -23,86 +23,86 @@ def countOf(*args, **kwargs) -> long: ...
|
||||
|
||||
def delitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def eq(*args, **kwargs) -> object: ...
|
||||
def eq(*args, **kwargs) -> Any: ...
|
||||
|
||||
def floordiv(*args, **kwargs) -> object: ...
|
||||
def floordiv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ge(*args, **kwargs) -> object: ...
|
||||
def ge(*args, **kwargs) -> Any: ...
|
||||
|
||||
def getitem(*args, **kwargs) -> object: ...
|
||||
def getitem(*args, **kwargs) -> Any: ...
|
||||
|
||||
def gt(*args, **kwargs) -> object: ...
|
||||
def gt(*args, **kwargs) -> Any: ...
|
||||
|
||||
def iadd(*args, **kwargs) -> object: ...
|
||||
def iadd(*args, **kwargs) -> Any: ...
|
||||
|
||||
def iand(*args, **kwargs) -> object: ...
|
||||
def iand(*args, **kwargs) -> Any: ...
|
||||
|
||||
def iconcat(*args, **kwargs) -> object: ...
|
||||
def iconcat(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ifloordiv(*args, **kwargs) -> object: ...
|
||||
def ifloordiv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ilshift(*args, **kwargs) -> object: ...
|
||||
def ilshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def imod(*args, **kwargs) -> object: ...
|
||||
def imod(*args, **kwargs) -> Any: ...
|
||||
|
||||
def imul(*args, **kwargs) -> object: ...
|
||||
def imul(*args, **kwargs) -> Any: ...
|
||||
|
||||
def index(*args, **kwargs) -> object: ...
|
||||
def index(*args, **kwargs) -> Any: ...
|
||||
|
||||
def indexOf(*args, **kwargs) -> long: ...
|
||||
|
||||
def inv(*args, **kwargs) -> object: ...
|
||||
def inv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def invert(*args, **kwargs) -> object: ...
|
||||
def invert(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ior(*args, **kwargs) -> object: ...
|
||||
def ior(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ipow(*args, **kwargs) -> object: ...
|
||||
def ipow(*args, **kwargs) -> Any: ...
|
||||
|
||||
def irshift(*args, **kwargs) -> object: ...
|
||||
def irshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def is_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def is_not(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isub(*args, **kwargs) -> object: ...
|
||||
def isub(*args, **kwargs) -> Any: ...
|
||||
|
||||
def itruediv(*args, **kwargs) -> object: ...
|
||||
def itruediv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ixor(*args, **kwargs) -> object: ...
|
||||
def ixor(*args, **kwargs) -> Any: ...
|
||||
|
||||
def le(*args, **kwargs) -> object: ...
|
||||
def le(*args, **kwargs) -> Any: ...
|
||||
|
||||
def length_hint(a, *args, **kwargs) -> long: ...
|
||||
|
||||
def lshift(*args, **kwargs) -> object: ...
|
||||
def lshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def lt(*args, **kwargs) -> object: ...
|
||||
def lt(*args, **kwargs) -> Any: ...
|
||||
|
||||
def mod(*args, **kwargs) -> object: ...
|
||||
def mod(*args, **kwargs) -> Any: ...
|
||||
|
||||
def mul(*args, **kwargs) -> object: ...
|
||||
def mul(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ne(*args, **kwargs) -> object: ...
|
||||
def ne(*args, **kwargs) -> Any: ...
|
||||
|
||||
def neg(*args, **kwargs) -> object: ...
|
||||
def neg(*args, **kwargs) -> Any: ...
|
||||
|
||||
def not_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def or_(*args, **kwargs) -> object: ...
|
||||
def or_(*args, **kwargs) -> Any: ...
|
||||
|
||||
def pos(*args, **kwargs) -> object: ...
|
||||
def pos(*args, **kwargs) -> Any: ...
|
||||
|
||||
def pow(*args, **kwargs) -> object: ...
|
||||
def pow(*args, **kwargs) -> Any: ...
|
||||
|
||||
def rshift(*args, **kwargs) -> object: ...
|
||||
def rshift(*args, **kwargs) -> Any: ...
|
||||
|
||||
def setitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def sub(*args, **kwargs) -> object: ...
|
||||
def sub(*args, **kwargs) -> Any: ...
|
||||
|
||||
def truediv(*args, **kwargs) -> object: ...
|
||||
def truediv(*args, **kwargs) -> Any: ...
|
||||
|
||||
def truth(*args, **kwargs) -> bool: ...
|
||||
|
||||
def xor(*args, **kwargs) -> object: ...
|
||||
def xor(*args, **kwargs) -> Any: ...
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def S_IFMT(*args, **kwargs) -> long: ...
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def _get_object_traceback(*args, **kwargs) -> object: ...
|
||||
def _get_object_traceback(*args, **kwargs) -> Any: ...
|
||||
|
||||
def _get_traces() -> object:
|
||||
def _get_traces() -> Any:
|
||||
raise MemoryError()
|
||||
|
||||
def clear_traces() -> None: ...
|
||||
@@ -16,7 +16,7 @@ def get_traceback_limit() -> long: ...
|
||||
|
||||
def get_traced_memory() -> tuple: ...
|
||||
|
||||
def get_tracemalloc_memory() -> object: ...
|
||||
def get_tracemalloc_memory() -> Any: ...
|
||||
|
||||
def is_tracing() -> bool: ...
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def _filters_mutated() -> None: ...
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def _clear() -> None: ...
|
||||
|
||||
@@ -11,7 +11,7 @@ def _ncallbacks() -> long: ...
|
||||
|
||||
def _run_exitfuncs() -> None: ...
|
||||
|
||||
def register(*args, **kwargs) -> object:
|
||||
def register(*args, **kwargs) -> Any:
|
||||
raise MemoryError()
|
||||
raise TypeError()
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> complex: ...
|
||||
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def dump(a, b, *args, **kwargs) -> object: ...
|
||||
def dump(a, b, *args, **kwargs) -> Any: ...
|
||||
|
||||
def dumps(a, *args, **kwargs) -> object: ...
|
||||
def dumps(a, *args, **kwargs) -> Any: ...
|
||||
|
||||
def load(*args, **kwargs) -> object:
|
||||
def load(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
def loads(a) -> object: ...
|
||||
def loads(a) -> Any: ...
|
||||
|
||||
42
3/math.pyi
42
3/math.pyi
@@ -3,29 +3,29 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> object: ...
|
||||
def acos(*args, **kwargs) -> Any: ...
|
||||
|
||||
def acosh(*args, **kwargs) -> object: ...
|
||||
def acosh(*args, **kwargs) -> Any: ...
|
||||
|
||||
def asin(*args, **kwargs) -> object: ...
|
||||
def asin(*args, **kwargs) -> Any: ...
|
||||
|
||||
def asinh(*args, **kwargs) -> object: ...
|
||||
def asinh(*args, **kwargs) -> Any: ...
|
||||
|
||||
def atan(*args, **kwargs) -> object: ...
|
||||
def atan(*args, **kwargs) -> Any: ...
|
||||
|
||||
def atan2(*args, **kwargs) -> float: ...
|
||||
|
||||
def atanh(*args, **kwargs) -> object: ...
|
||||
def atanh(*args, **kwargs) -> Any: ...
|
||||
|
||||
def ceil(*args, **kwargs) -> object: ...
|
||||
def ceil(*args, **kwargs) -> Any: ...
|
||||
|
||||
def copysign(*args, **kwargs) -> float: ...
|
||||
|
||||
def cos(*args, **kwargs) -> object: ...
|
||||
def cos(*args, **kwargs) -> Any: ...
|
||||
|
||||
def cosh(*args, **kwargs) -> object: ...
|
||||
def cosh(*args, **kwargs) -> Any: ...
|
||||
|
||||
def degrees(*args, **kwargs) -> float: ...
|
||||
|
||||
@@ -33,16 +33,16 @@ def erf(*args, **kwargs) -> float: ...
|
||||
|
||||
def erfc(*args, **kwargs) -> float: ...
|
||||
|
||||
def exp(*args, **kwargs) -> object: ...
|
||||
def exp(*args, **kwargs) -> Any: ...
|
||||
|
||||
def expm1(*args, **kwargs) -> object: ...
|
||||
def expm1(*args, **kwargs) -> Any: ...
|
||||
|
||||
def fabs(*args, **kwargs) -> object: ...
|
||||
def fabs(*args, **kwargs) -> Any: ...
|
||||
|
||||
def factorial(*args, **kwargs) -> long:
|
||||
raise ValueError()
|
||||
|
||||
def floor(*args, **kwargs) -> object: ...
|
||||
def floor(*args, **kwargs) -> Any: ...
|
||||
|
||||
def fmod(*args, **kwargs) -> float: ...
|
||||
|
||||
@@ -71,7 +71,7 @@ def log(*args, **kwargs) -> float: ...
|
||||
|
||||
def log10(*args, **kwargs) -> float: ...
|
||||
|
||||
def log1p(*args, **kwargs) -> object: ...
|
||||
def log1p(*args, **kwargs) -> Any: ...
|
||||
|
||||
def log2(*args, **kwargs) -> float: ...
|
||||
|
||||
@@ -81,15 +81,15 @@ def pow(*args, **kwargs) -> float: ...
|
||||
|
||||
def radians(*args, **kwargs) -> float: ...
|
||||
|
||||
def sin(*args, **kwargs) -> object: ...
|
||||
def sin(*args, **kwargs) -> Any: ...
|
||||
|
||||
def sinh(*args, **kwargs) -> object: ...
|
||||
def sinh(*args, **kwargs) -> Any: ...
|
||||
|
||||
def sqrt(*args, **kwargs) -> object: ...
|
||||
def sqrt(*args, **kwargs) -> Any: ...
|
||||
|
||||
def tan(*args, **kwargs) -> object: ...
|
||||
def tan(*args, **kwargs) -> Any: ...
|
||||
|
||||
def tanh(*args, **kwargs) -> object: ...
|
||||
def tanh(*args, **kwargs) -> Any: ...
|
||||
|
||||
def trunc(*args, **kwargs) -> object:
|
||||
def trunc(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
10
3/signal.pyi
10
3/signal.pyi
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
ITIMER_PROF = ... # type: long
|
||||
ITIMER_REAL = ... # type: long
|
||||
@@ -50,7 +50,7 @@ SIG_IGN = ... # type: long
|
||||
|
||||
def alarm(a: int) -> long: ...
|
||||
|
||||
def default_int_handler(*args, **kwargs) -> object:
|
||||
def default_int_handler(*args, **kwargs) -> Any:
|
||||
raise KeyboardInterrupt()
|
||||
|
||||
def getitimer(a: int) -> tuple: ...
|
||||
@@ -63,7 +63,7 @@ def pause() -> None: ...
|
||||
def pthread_kill(a: int, b: int) -> None:
|
||||
raise OSError()
|
||||
|
||||
def pthread_sigmask(a: int, b) -> object:
|
||||
def pthread_sigmask(a: int, b) -> Any:
|
||||
raise OSError()
|
||||
|
||||
def set_wakeup_fd(a: int) -> long:
|
||||
@@ -80,10 +80,10 @@ def signal(a: int, b) -> None:
|
||||
raise TypeError()
|
||||
raise ValueError()
|
||||
|
||||
def sigpending() -> object:
|
||||
def sigpending() -> Any:
|
||||
raise OSError()
|
||||
|
||||
def sigtimedwait(a, b) -> object:
|
||||
def sigtimedwait(a, b) -> Any:
|
||||
raise OSError()
|
||||
raise ValueError()
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# 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, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
def asctime(*args, **kwargs) -> unicode: ...
|
||||
|
||||
@@ -20,7 +20,7 @@ def clock_settime(a: int, b) -> None:
|
||||
|
||||
def ctime(*args, **kwargs) -> unicode: ...
|
||||
|
||||
def get_clock_info(a: str) -> object:
|
||||
def get_clock_info(a: str) -> Any:
|
||||
raise ValueError()
|
||||
|
||||
def gmtime(*args, **kwargs) -> tuple:
|
||||
@@ -43,7 +43,7 @@ def sleep(a: float) -> None:
|
||||
def strftime(a: str, *args, **kwargs) -> unicode:
|
||||
raise MemoryError()
|
||||
|
||||
def strptime(*args, **kwargs) -> object: ...
|
||||
def strptime(*args, **kwargs) -> Any: ...
|
||||
|
||||
def time() -> float: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user