mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add Python 3 modules, and more Python 2 modules.
Also, sort names alphabetically and add module docstrings.
This commit is contained in:
@@ -1,72 +1,73 @@
|
||||
"""Stub file for the 'signal' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more percise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
SIGTTIN = Undefined(int)
|
||||
SIGTSTP = Undefined(int)
|
||||
SIGPIPE = Undefined(int)
|
||||
SIGXCPU = Undefined(int)
|
||||
SIGIOT = Undefined(int)
|
||||
SIGALRM = Undefined(int)
|
||||
SIGRTMAX = Undefined(int)
|
||||
SIGPWR = Undefined(int)
|
||||
SIGTTOU = Undefined(int)
|
||||
SIGSEGV = Undefined(int)
|
||||
SIGRTMIN = Undefined(int)
|
||||
SIGKILL = Undefined(int)
|
||||
SIGBUS = Undefined(int)
|
||||
SIGVTALRM = Undefined(int)
|
||||
SIGCHLD = Undefined(int)
|
||||
SIGABRT = Undefined(int)
|
||||
SIGSTOP = Undefined(int)
|
||||
SIGPOLL = Undefined(int)
|
||||
SIGHUP = Undefined(int)
|
||||
SIG_DFL = Undefined(long)
|
||||
SIGSYS = Undefined(int)
|
||||
SIGPROF = Undefined(int)
|
||||
NSIG = Undefined(int)
|
||||
SIGTERM = Undefined(int)
|
||||
SIGINT = Undefined(int)
|
||||
ITIMER_PROF = Undefined(long)
|
||||
SIG_IGN = Undefined(long)
|
||||
SIGURG = Undefined(int)
|
||||
SIGIO = Undefined(int)
|
||||
SIGILL = Undefined(int)
|
||||
SIGQUIT = Undefined(int)
|
||||
ITIMER_REAL = Undefined(long)
|
||||
ITIMER_VIRTUAL = Undefined(long)
|
||||
SIGTRAP = Undefined(int)
|
||||
SIGUSR2 = Undefined(int)
|
||||
SIGUSR1 = Undefined(int)
|
||||
ItimerError = Undefined(object)
|
||||
SIGWINCH = Undefined(int)
|
||||
SIGXFSZ = Undefined(int)
|
||||
NSIG = Undefined(int)
|
||||
SIGABRT = Undefined(int)
|
||||
SIGALRM = Undefined(int)
|
||||
SIGBUS = Undefined(int)
|
||||
SIGCHLD = Undefined(int)
|
||||
SIGCLD = Undefined(int)
|
||||
SIGCONT = Undefined(int)
|
||||
SIGFPE = Undefined(int)
|
||||
ITIMER_REAL = Undefined(long)
|
||||
SIGCLD = Undefined(int)
|
||||
SIGHUP = Undefined(int)
|
||||
SIGILL = Undefined(int)
|
||||
SIGINT = Undefined(int)
|
||||
SIGIO = Undefined(int)
|
||||
SIGIOT = Undefined(int)
|
||||
SIGKILL = Undefined(int)
|
||||
SIGPIPE = Undefined(int)
|
||||
SIGPOLL = Undefined(int)
|
||||
SIGPROF = Undefined(int)
|
||||
SIGPWR = Undefined(int)
|
||||
SIGQUIT = Undefined(int)
|
||||
SIGRTMAX = Undefined(int)
|
||||
SIGRTMIN = Undefined(int)
|
||||
SIGSEGV = Undefined(int)
|
||||
SIGSTOP = Undefined(int)
|
||||
SIGSYS = Undefined(int)
|
||||
SIGTERM = Undefined(int)
|
||||
SIGTRAP = Undefined(int)
|
||||
SIGTSTP = Undefined(int)
|
||||
SIGTTIN = Undefined(int)
|
||||
SIGTTOU = Undefined(int)
|
||||
SIGURG = Undefined(int)
|
||||
SIGUSR1 = Undefined(int)
|
||||
SIGUSR2 = Undefined(int)
|
||||
SIGVTALRM = Undefined(int)
|
||||
SIGWINCH = Undefined(int)
|
||||
SIGXCPU = Undefined(int)
|
||||
SIGXFSZ = Undefined(int)
|
||||
SIG_DFL = Undefined(long)
|
||||
SIG_IGN = Undefined(long)
|
||||
|
||||
def alarm(a: int) -> int: pass
|
||||
|
||||
def default_int_handler(*args, **kwargs) -> object:
|
||||
raise KeyboardInterrupt()
|
||||
|
||||
def getitimer(a: int) -> tuple: pass
|
||||
|
||||
def signal(a: int, b) -> NoneType:
|
||||
raise RuntimeError()
|
||||
raise ValueError()
|
||||
raise TypeError()
|
||||
|
||||
def getsignal(a: int) -> NoneType:
|
||||
raise ValueError()
|
||||
|
||||
def pause() -> NoneType: pass
|
||||
|
||||
def setitimer(a: int, b: float, *args, **kwargs) -> tuple: pass
|
||||
|
||||
def alarm(a: int) -> int: pass
|
||||
|
||||
def set_wakeup_fd(a: int) -> long:
|
||||
raise ValueError()
|
||||
|
||||
def setitimer(a: int, b: float, *args, **kwargs) -> tuple: pass
|
||||
|
||||
def siginterrupt(a: int, b: int) -> NoneType:
|
||||
raise ValueError()
|
||||
raise RuntimeError()
|
||||
|
||||
def signal(a: int, b) -> NoneType:
|
||||
raise TypeError()
|
||||
raise RuntimeError()
|
||||
raise ValueError()
|
||||
|
||||
def default_int_handler(*args, **kwargs) -> object:
|
||||
raise KeyboardInterrupt()
|
||||
|
||||
Reference in New Issue
Block a user