diff options
author | Jakub Kuczys <me@jacken.men> | 2023-05-29 18:28:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 18:28:37 (GMT) |
commit | 39f6a0489fcc815a578d27dfee2feea003c896f8 (patch) | |
tree | 3387c342cbcc39b78488ff5939b9bc9ea7270c55 /Lib/traceback.py | |
parent | 6da701511e70fb26ad4710153d8d5a82b809919c (diff) | |
download | cpython-39f6a0489fcc815a578d27dfee2feea003c896f8.zip cpython-39f6a0489fcc815a578d27dfee2feea003c896f8.tar.gz cpython-39f6a0489fcc815a578d27dfee2feea003c896f8.tar.bz2 |
GH-89455: Add missing attributes (added in 3.11) to traceback module docs (#105044)
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r-- | Lib/traceback.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py index 419f6e8..0ea77bf 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py @@ -658,6 +658,8 @@ class TracebackException: - :attr:`__cause__` A TracebackException of the original *__cause__*. - :attr:`__context__` A TracebackException of the original *__context__*. + - :attr:`exceptions` For exception groups - a list of TracebackException + instances for the nested *exceptions*. ``None`` for other exceptions. - :attr:`__suppress_context__` The *__suppress_context__* value from the original exception. - :attr:`stack` A `StackSummary` representing the traceback. |