Skip to content

Commit 8811826

Browse files
authored
add comment
1 parent aa8c0db commit 8811826

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/sys/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ else:
354354
def _current_frames() -> dict[int, FrameType]: ...
355355
def _getframe(depth: int = 0, /) -> FrameType: ...
356356

357+
# documented -- see https://docs.python.org/3/library/sys.html#sys._current_exceptions
357358
if sys.version_info >= (3, 12):
358359
def _current_exceptions() -> dict[int, BaseException | None]: ...
359360

0 commit comments

Comments
 (0)