MCPcopy Index your code
hub / github.com/python/cpython / ExceptHookArgs

Class ExceptHookArgs

Lib/_pyrepl/_threading_handler.py:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 from typing import Protocol
12
13 class ExceptHookArgs(Protocol):
14 @property
15 def exc_type(self) -> type[BaseException]: ...
16 @property
17 def exc_value(self) -> BaseException | None: ...
18 @property
19 def exc_traceback(self) -> TracebackType | None: ...
20 @property
21 def thread(self) -> Thread | None: ...
22
23 class ShowExceptions(Protocol):
24 def __call__(self) -> int: ...

Callers 1

invoke_excepthookFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…