We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sys._current_exceptions
1 parent 3c5531d commit 0f245edCopy full SHA for 0f245ed
stdlib/sys/__init__.pyi
@@ -354,6 +354,11 @@ else:
354
def _current_frames() -> dict[int, FrameType]: ...
355
def _getframe(depth: int = 0, /) -> FrameType: ...
356
357
+if sys.version_info >= (3, 12):
358
+ def _current_exceptions() -> dict[int, BaseException | None]: ...
359
+else:
360
+ def _current_exceptions() -> dict[int, OptExcInfo]: ...
361
+
362
if sys.version_info >= (3, 12):
363
def _getframemodulename(depth: int = 0) -> str | None: ...
364
0 commit comments