Skip to content

Commit b252fbf

Browse files
authored
Add missing exceptions field to TracebackException (#13204)
1 parent 1bf8d50 commit b252fbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/traceback.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ if sys.version_info >= (3, 11):
115115
class TracebackException:
116116
__cause__: TracebackException
117117
__context__: TracebackException
118+
if sys.version_info >= (3, 11):
119+
exceptions: list[TracebackException] | None
118120
__suppress_context__: bool
119121
stack: StackSummary
120122
filename: str

0 commit comments

Comments
 (0)