traceback can be None in sys.excepthook (#6133)

This commit is contained in:
Nikita Sobolev
2021-10-08 12:17:32 +03:00
committed by GitHub
parent 3c58736d01
commit 373c4e582a
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ if sys.platform == "win32":
dllhandle: int
dont_write_bytecode: bool
displayhook: Callable[[object], Any]
excepthook: Callable[[Type[BaseException], BaseException, TracebackType], Any]
excepthook: Callable[[Type[BaseException], BaseException, TracebackType | None], Any]
exec_prefix: str
executable: str
float_repr_style: str