mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Mark the return type of signal._HANDLER Any instead of None (#4518)
Closes #4517
This commit is contained in:
@@ -82,7 +82,7 @@ if sys.platform != "win32":
|
||||
SIG_SETMASK = Sigmasks.SIG_SETMASK
|
||||
|
||||
_SIGNUM = Union[int, Signals]
|
||||
_HANDLER = Union[Callable[[Signals, FrameType], None], int, Handlers, None]
|
||||
_HANDLER = Union[Callable[[Signals, FrameType], Any], int, Handlers, None]
|
||||
|
||||
SIGABRT: Signals
|
||||
if sys.platform != "win32":
|
||||
|
||||
Reference in New Issue
Block a user