mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-29 22:32:11 +08:00
More generic directory hierarchy.
This commit is contained in:
18
3/_bisect.py
Normal file
18
3/_bisect.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Stub file for the '_bisect' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def bisect(a, x, *args, **kwargs) -> long: ...
|
||||
|
||||
def bisect_left(a, x, *args, **kwargs) -> long: ...
|
||||
|
||||
def bisect_right(a, x, *args, **kwargs) -> long: ...
|
||||
|
||||
def insort(a, x, *args, **kwargs) -> None: ...
|
||||
|
||||
def insort_left(a, x, *args, **kwargs) -> None: ...
|
||||
|
||||
def insort_right(a, x, *args, **kwargs) -> None: ...
|
||||
91
3/_codecs.py
Normal file
91
3/_codecs.py
Normal file
@@ -0,0 +1,91 @@
|
||||
"""Stub file for the '_codecs' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def _forget_codec(a: str) -> None: ...
|
||||
|
||||
def ascii_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def ascii_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_build(a: str) -> object: ...
|
||||
|
||||
def charmap_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def charmap_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def decode(a, *args, **kwargs) -> object: ...
|
||||
|
||||
def encode(a, *args, **kwargs) -> object: ...
|
||||
|
||||
def escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def escape_encode(a, *args, **kwargs) -> tuple:
|
||||
raise OverflowError()
|
||||
|
||||
def latin_1_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def latin_1_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def lookup(a: str) -> object: ...
|
||||
|
||||
def lookup_error(a: str) -> object: ...
|
||||
|
||||
def raw_unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def raw_unicode_escape_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def readbuffer_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def register(*args, **kwargs) -> None: ...
|
||||
|
||||
def register_error(a: str, b) -> None: ...
|
||||
|
||||
def unicode_escape_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def unicode_escape_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def unicode_internal_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def unicode_internal_encode(a, *args, **kwargs) -> tuple:
|
||||
raise DeprecationWarning()
|
||||
raise MemoryError()
|
||||
|
||||
def utf_16_be_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_be_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_ex_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_le_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_16_le_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_be_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_be_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_ex_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_le_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_32_le_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_7_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_7_encode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_8_decode(a, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def utf_8_encode(a, *args, **kwargs) -> tuple: ...
|
||||
27
3/_heapq.py
Normal file
27
3/_heapq.py
Normal file
@@ -0,0 +1,27 @@
|
||||
"""Stub file for the '_heapq' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def heapify(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
|
||||
def heappop(*args, **kwargs) -> object:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
def heappush(*args, **kwargs) -> None:
|
||||
raise TypeError()
|
||||
|
||||
def heappushpop(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
|
||||
def heapreplace(*args, **kwargs) -> object:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
def nlargest(a: int, b) -> List[object]: ...
|
||||
|
||||
def nsmallest(a: int, b) -> List[object]: ...
|
||||
12
3/_json.py
Normal file
12
3/_json.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Stub file for the '_json' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def encode_basestring_ascii(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
|
||||
def scanstring(a, b: int, *args, **kwargs) -> tuple:
|
||||
raise TypeError()
|
||||
108
3/_operator.py
Normal file
108
3/_operator.py
Normal file
@@ -0,0 +1,108 @@
|
||||
"""Stub file for the '_operator' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def _compare_digest(a, b) -> bool:
|
||||
raise BufferError()
|
||||
raise TypeError()
|
||||
|
||||
def abs(*args, **kwargs) -> object: ...
|
||||
|
||||
def add(*args, **kwargs) -> object: ...
|
||||
|
||||
def and_(*args, **kwargs) -> object: ...
|
||||
|
||||
def concat(*args, **kwargs) -> object: ...
|
||||
|
||||
def contains(*args, **kwargs) -> bool: ...
|
||||
|
||||
def countOf(*args, **kwargs) -> long: ...
|
||||
|
||||
def delitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def eq(*args, **kwargs) -> object: ...
|
||||
|
||||
def floordiv(*args, **kwargs) -> object: ...
|
||||
|
||||
def ge(*args, **kwargs) -> object: ...
|
||||
|
||||
def getitem(*args, **kwargs) -> object: ...
|
||||
|
||||
def gt(*args, **kwargs) -> object: ...
|
||||
|
||||
def iadd(*args, **kwargs) -> object: ...
|
||||
|
||||
def iand(*args, **kwargs) -> object: ...
|
||||
|
||||
def iconcat(*args, **kwargs) -> object: ...
|
||||
|
||||
def ifloordiv(*args, **kwargs) -> object: ...
|
||||
|
||||
def ilshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def imod(*args, **kwargs) -> object: ...
|
||||
|
||||
def imul(*args, **kwargs) -> object: ...
|
||||
|
||||
def index(*args, **kwargs) -> object: ...
|
||||
|
||||
def indexOf(*args, **kwargs) -> long: ...
|
||||
|
||||
def inv(*args, **kwargs) -> object: ...
|
||||
|
||||
def invert(*args, **kwargs) -> object: ...
|
||||
|
||||
def ior(*args, **kwargs) -> object: ...
|
||||
|
||||
def ipow(*args, **kwargs) -> object: ...
|
||||
|
||||
def irshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def is_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def is_not(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isub(*args, **kwargs) -> object: ...
|
||||
|
||||
def itruediv(*args, **kwargs) -> object: ...
|
||||
|
||||
def ixor(*args, **kwargs) -> object: ...
|
||||
|
||||
def le(*args, **kwargs) -> object: ...
|
||||
|
||||
def length_hint(a, *args, **kwargs) -> long: ...
|
||||
|
||||
def lshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def lt(*args, **kwargs) -> object: ...
|
||||
|
||||
def mod(*args, **kwargs) -> object: ...
|
||||
|
||||
def mul(*args, **kwargs) -> object: ...
|
||||
|
||||
def ne(*args, **kwargs) -> object: ...
|
||||
|
||||
def neg(*args, **kwargs) -> object: ...
|
||||
|
||||
def not_(*args, **kwargs) -> bool: ...
|
||||
|
||||
def or_(*args, **kwargs) -> object: ...
|
||||
|
||||
def pos(*args, **kwargs) -> object: ...
|
||||
|
||||
def pow(*args, **kwargs) -> object: ...
|
||||
|
||||
def rshift(*args, **kwargs) -> object: ...
|
||||
|
||||
def setitem(*args, **kwargs) -> None: ...
|
||||
|
||||
def sub(*args, **kwargs) -> object: ...
|
||||
|
||||
def truediv(*args, **kwargs) -> object: ...
|
||||
|
||||
def truth(*args, **kwargs) -> bool: ...
|
||||
|
||||
def xor(*args, **kwargs) -> object: ...
|
||||
32
3/_stat.py
Normal file
32
3/_stat.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""Stub file for the '_stat' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def S_IFMT(*args, **kwargs) -> long: ...
|
||||
|
||||
def S_IMODE(*args, **kwargs) -> long: ...
|
||||
|
||||
def S_ISBLK(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISCHR(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISDIR(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISDOOR(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISFIFO(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISLNK(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISPORT(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISREG(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISSOCK(*args, **kwargs) -> bool: ...
|
||||
|
||||
def S_ISWHT(*args, **kwargs) -> bool: ...
|
||||
|
||||
def filemode(*args, **kwargs) -> unicode: ...
|
||||
26
3/_tracemalloc.py
Normal file
26
3/_tracemalloc.py
Normal file
@@ -0,0 +1,26 @@
|
||||
"""Stub file for the '_tracemalloc' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def _get_object_traceback(*args, **kwargs) -> object: ...
|
||||
|
||||
def _get_traces() -> object:
|
||||
raise MemoryError()
|
||||
|
||||
def clear_traces() -> None: ...
|
||||
|
||||
def get_traceback_limit() -> long: ...
|
||||
|
||||
def get_traced_memory() -> tuple: ...
|
||||
|
||||
def get_tracemalloc_memory() -> object: ...
|
||||
|
||||
def is_tracing() -> bool: ...
|
||||
|
||||
def start(*args, **kwargs) -> None:
|
||||
raise ValueError()
|
||||
|
||||
def stop() -> None: ...
|
||||
12
3/_warnings.py
Normal file
12
3/_warnings.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Stub file for the '_warnings' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def _filters_mutated() -> None: ...
|
||||
|
||||
def warn(message, *args, **kwargs) -> None: ...
|
||||
|
||||
def warn_explicit(message, category, filename: str, lineno: int, *args, **kwargs) -> None: ...
|
||||
18
3/atexit.py
Normal file
18
3/atexit.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Stub file for the 'atexit' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def _clear() -> None: ...
|
||||
|
||||
def _ncallbacks() -> long: ...
|
||||
|
||||
def _run_exitfuncs() -> None: ...
|
||||
|
||||
def register(*args, **kwargs) -> object:
|
||||
raise MemoryError()
|
||||
raise TypeError()
|
||||
|
||||
def unregister(*args, **kwargs) -> None: ...
|
||||
50
3/cmath.py
Normal file
50
3/cmath.py
Normal file
@@ -0,0 +1,50 @@
|
||||
"""Stub file for the 'cmath' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> complex: ...
|
||||
|
||||
def acosh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def asin(*args, **kwargs) -> complex: ...
|
||||
|
||||
def asinh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def atan(*args, **kwargs) -> complex: ...
|
||||
|
||||
def atanh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def cos(*args, **kwargs) -> complex: ...
|
||||
|
||||
def cosh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def exp(*args, **kwargs) -> complex: ...
|
||||
|
||||
def isfinite(a: complex) -> bool: ...
|
||||
|
||||
def isinf(a: complex) -> bool: ...
|
||||
|
||||
def isnan(a: complex) -> bool: ...
|
||||
|
||||
def log(a: complex, *args, **kwargs) -> complex: ...
|
||||
|
||||
def log10(*args, **kwargs) -> complex: ...
|
||||
|
||||
def phase(a: complex) -> float: ...
|
||||
|
||||
def polar(a: complex) -> tuple: ...
|
||||
|
||||
def rect(a: float, b: float) -> complex: ...
|
||||
|
||||
def sin(*args, **kwargs) -> complex: ...
|
||||
|
||||
def sinh(*args, **kwargs) -> complex: ...
|
||||
|
||||
def sqrt(*args, **kwargs) -> complex: ...
|
||||
|
||||
def tan(*args, **kwargs) -> complex: ...
|
||||
|
||||
def tanh(*args, **kwargs) -> complex: ...
|
||||
15
3/marshal.py
Normal file
15
3/marshal.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Stub file for the 'marshal' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def dump(a, b, *args, **kwargs) -> object: ...
|
||||
|
||||
def dumps(a, *args, **kwargs) -> object: ...
|
||||
|
||||
def load(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
|
||||
def loads(a) -> object: ...
|
||||
95
3/math.py
Normal file
95
3/math.py
Normal file
@@ -0,0 +1,95 @@
|
||||
"""Stub file for the 'math' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def acos(*args, **kwargs) -> object: ...
|
||||
|
||||
def acosh(*args, **kwargs) -> object: ...
|
||||
|
||||
def asin(*args, **kwargs) -> object: ...
|
||||
|
||||
def asinh(*args, **kwargs) -> object: ...
|
||||
|
||||
def atan(*args, **kwargs) -> object: ...
|
||||
|
||||
def atan2(*args, **kwargs) -> float: ...
|
||||
|
||||
def atanh(*args, **kwargs) -> object: ...
|
||||
|
||||
def ceil(*args, **kwargs) -> object: ...
|
||||
|
||||
def copysign(*args, **kwargs) -> float: ...
|
||||
|
||||
def cos(*args, **kwargs) -> object: ...
|
||||
|
||||
def cosh(*args, **kwargs) -> object: ...
|
||||
|
||||
def degrees(*args, **kwargs) -> float: ...
|
||||
|
||||
def erf(*args, **kwargs) -> float: ...
|
||||
|
||||
def erfc(*args, **kwargs) -> float: ...
|
||||
|
||||
def exp(*args, **kwargs) -> object: ...
|
||||
|
||||
def expm1(*args, **kwargs) -> object: ...
|
||||
|
||||
def fabs(*args, **kwargs) -> object: ...
|
||||
|
||||
def factorial(*args, **kwargs) -> long:
|
||||
raise ValueError()
|
||||
|
||||
def floor(*args, **kwargs) -> object: ...
|
||||
|
||||
def fmod(*args, **kwargs) -> float: ...
|
||||
|
||||
def frexp(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def fsum(*args, **kwargs) -> float:
|
||||
raise OverflowError()
|
||||
raise ValueError()
|
||||
|
||||
def gamma(*args, **kwargs) -> float: ...
|
||||
|
||||
def hypot(*args, **kwargs) -> float: ...
|
||||
|
||||
def isfinite(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isinf(*args, **kwargs) -> bool: ...
|
||||
|
||||
def isnan(*args, **kwargs) -> bool: ...
|
||||
|
||||
def ldexp(a: float, b) -> float:
|
||||
raise TypeError()
|
||||
|
||||
def lgamma(*args, **kwargs) -> float: ...
|
||||
|
||||
def log(*args, **kwargs) -> float: ...
|
||||
|
||||
def log10(*args, **kwargs) -> float: ...
|
||||
|
||||
def log1p(*args, **kwargs) -> object: ...
|
||||
|
||||
def log2(*args, **kwargs) -> float: ...
|
||||
|
||||
def modf(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def pow(*args, **kwargs) -> float: ...
|
||||
|
||||
def radians(*args, **kwargs) -> float: ...
|
||||
|
||||
def sin(*args, **kwargs) -> object: ...
|
||||
|
||||
def sinh(*args, **kwargs) -> object: ...
|
||||
|
||||
def sqrt(*args, **kwargs) -> object: ...
|
||||
|
||||
def tan(*args, **kwargs) -> object: ...
|
||||
|
||||
def tanh(*args, **kwargs) -> object: ...
|
||||
|
||||
def trunc(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
94
3/signal.py
Normal file
94
3/signal.py
Normal file
@@ -0,0 +1,94 @@
|
||||
"""Stub file for the 'signal' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
ITIMER_PROF = Undefined(long)
|
||||
ITIMER_REAL = Undefined(long)
|
||||
ITIMER_VIRTUAL = Undefined(long)
|
||||
ItimerError = Undefined(object)
|
||||
NSIG = Undefined(long)
|
||||
SIGABRT = Undefined(long)
|
||||
SIGALRM = Undefined(long)
|
||||
SIGBUS = Undefined(long)
|
||||
SIGCHLD = Undefined(long)
|
||||
SIGCLD = Undefined(long)
|
||||
SIGCONT = Undefined(long)
|
||||
SIGFPE = Undefined(long)
|
||||
SIGHUP = Undefined(long)
|
||||
SIGILL = Undefined(long)
|
||||
SIGINT = Undefined(long)
|
||||
SIGIO = Undefined(long)
|
||||
SIGIOT = Undefined(long)
|
||||
SIGKILL = Undefined(long)
|
||||
SIGPIPE = Undefined(long)
|
||||
SIGPOLL = Undefined(long)
|
||||
SIGPROF = Undefined(long)
|
||||
SIGPWR = Undefined(long)
|
||||
SIGQUIT = Undefined(long)
|
||||
SIGRTMAX = Undefined(long)
|
||||
SIGRTMIN = Undefined(long)
|
||||
SIGSEGV = Undefined(long)
|
||||
SIGSTOP = Undefined(long)
|
||||
SIGSYS = Undefined(long)
|
||||
SIGTERM = Undefined(long)
|
||||
SIGTRAP = Undefined(long)
|
||||
SIGTSTP = Undefined(long)
|
||||
SIGTTIN = Undefined(long)
|
||||
SIGTTOU = Undefined(long)
|
||||
SIGURG = Undefined(long)
|
||||
SIGUSR1 = Undefined(long)
|
||||
SIGUSR2 = Undefined(long)
|
||||
SIGVTALRM = Undefined(long)
|
||||
SIGWINCH = Undefined(long)
|
||||
SIGXCPU = Undefined(long)
|
||||
SIGXFSZ = Undefined(long)
|
||||
SIG_DFL = Undefined(long)
|
||||
SIG_IGN = Undefined(long)
|
||||
|
||||
def alarm(a: int) -> long: ...
|
||||
|
||||
def default_int_handler(*args, **kwargs) -> object:
|
||||
raise KeyboardInterrupt()
|
||||
|
||||
def getitimer(a: int) -> tuple: ...
|
||||
|
||||
def getsignal(a: int) -> None:
|
||||
raise ValueError()
|
||||
|
||||
def pause() -> None: ...
|
||||
|
||||
def pthread_kill(a: int, b: int) -> None:
|
||||
raise OSError()
|
||||
|
||||
def pthread_sigmask(a: int, b) -> object:
|
||||
raise OSError()
|
||||
|
||||
def set_wakeup_fd(a: int) -> long:
|
||||
raise ValueError()
|
||||
|
||||
def setitimer(a: int, b: float, *args, **kwargs) -> tuple: ...
|
||||
|
||||
def siginterrupt(a: int, b: int) -> None:
|
||||
raise OSError()
|
||||
raise ValueError()
|
||||
|
||||
def signal(a: int, b) -> None:
|
||||
raise OSError()
|
||||
raise TypeError()
|
||||
raise ValueError()
|
||||
|
||||
def sigpending() -> object:
|
||||
raise OSError()
|
||||
|
||||
def sigtimedwait(a, b) -> object:
|
||||
raise OSError()
|
||||
raise ValueError()
|
||||
|
||||
def sigwait(a) -> long:
|
||||
raise OSError()
|
||||
|
||||
def sigwaitinfo(a) -> tuple:
|
||||
raise OSError()
|
||||
50
3/time.py
Normal file
50
3/time.py
Normal file
@@ -0,0 +1,50 @@
|
||||
"""Stub file for the 'time' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def asctime(*args, **kwargs) -> unicode: ...
|
||||
|
||||
def clock() -> float: ...
|
||||
|
||||
def clock_getres(a: int) -> float:
|
||||
raise IOError()
|
||||
|
||||
def clock_gettime(a: int) -> float:
|
||||
raise IOError()
|
||||
|
||||
def clock_settime(a: int, b) -> None:
|
||||
raise IOError()
|
||||
|
||||
def ctime(*args, **kwargs) -> unicode: ...
|
||||
|
||||
def get_clock_info(a: str) -> object:
|
||||
raise ValueError()
|
||||
|
||||
def gmtime(*args, **kwargs) -> tuple:
|
||||
raise OSError()
|
||||
|
||||
def localtime(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def mktime(*args, **kwargs) -> float:
|
||||
raise OverflowError()
|
||||
|
||||
def monotonic() -> float: ...
|
||||
|
||||
def perf_counter() -> float: ...
|
||||
|
||||
def process_time() -> float: ...
|
||||
|
||||
def sleep(a: float) -> None:
|
||||
raise ValueError()
|
||||
|
||||
def strftime(a: str, *args, **kwargs) -> unicode:
|
||||
raise MemoryError()
|
||||
|
||||
def strptime(*args, **kwargs) -> object: ...
|
||||
|
||||
def time() -> float: ...
|
||||
|
||||
def tzset() -> None: ...
|
||||
Reference in New Issue
Block a user