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

@@ -610,7 +610,7 @@ class Wm:
withdraw = wm_withdraw
class _ExceptionReportingCallback(Protocol):
def __call__(self, __exc: Type[BaseException], __val: BaseException, __tb: TracebackType) -> Any: ...
def __call__(self, __exc: Type[BaseException], __val: BaseException, __tb: TracebackType | None) -> Any: ...
class Tk(Misc, Wm):
master: None