Skip to content

Commit 0a3cefd

Browse files
committed
Special-case some platform-specific signals
1 parent 737d0cc commit 0a3cefd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/signal.pyi

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ else:
9898
SIGCONT: Literal[Signals.SIGCONT]
9999
SIGHUP: Literal[Signals.SIGHUP]
100100
SIGIO: Literal[Signals.SIGIO]
101-
SIGIOT: Literal[Signals.SIGIOT]
101+
SIGIOT: Literal[Signals.SIGABRT]
102102
SIGKILL: Literal[Signals.SIGKILL]
103103
SIGPIPE: Literal[Signals.SIGPIPE]
104104
SIGPROF: Literal[Signals.SIGPROF]
@@ -147,8 +147,8 @@ else:
147147
else:
148148
def sigwait(sigset: Iterable[int], /) -> _SIGNUM: ...
149149
if sys.platform != "darwin":
150-
SIGCLD: Literal[Signals.SIGCLD]
151-
SIGPOLL: Literal[Signals.SIGPOLL]
150+
SIGCLD: Literal[Signals.SIGCHLD]
151+
SIGPOLL: Literal[Signals.SIGIO]
152152
SIGPWR: Literal[Signals.SIGPWR]
153153
SIGRTMAX: Literal[Signals.SIGRTMAX]
154154
SIGRTMIN: Literal[Signals.SIGRTMIN]

0 commit comments

Comments
 (0)