mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
traceback can be None in sys.excepthook (#6133)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user