diff --git a/stdlib/sys.pyi b/stdlib/sys.pyi index 0c4cf5be3..a6e10affc 100644 --- a/stdlib/sys.pyi +++ b/stdlib/sys.pyi @@ -301,6 +301,7 @@ if sys.version_info >= (3, 8): err_msg: str | None object: _object | None unraisablehook: Callable[[UnraisableHookArgs], Any] + def __unraisablehook__(__unraisable: UnraisableHookArgs) -> Any: ... def addaudithook(hook: Callable[[str, tuple[Any, ...]], Any]) -> None: ... def audit(__event: str, *args: Any) -> None: ...