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