diff --git a/stdlib/3/sys.pyi b/stdlib/3/sys.pyi index c3ce9c6e2..28b23a546 100644 --- a/stdlib/3/sys.pyi +++ b/stdlib/3/sys.pyi @@ -115,7 +115,7 @@ def call_tracing(fn: Callable[..., _T], args: Any) -> _T: ... def _clear_type_cache() -> None: ... def _current_frames() -> Dict[int, Any]: ... def displayhook(value: Optional[int]) -> None: ... -def excepthook(type_: type, value: BaseException, +def excepthook(type_: Type[BaseException], value: BaseException, traceback: TracebackType) -> None: ... # TODO should be a union of tuple, see mypy#1178 def exc_info() -> Tuple[Optional[Type[BaseException]],