summaryrefslogtreecommitdiffstats
path: root/Lib/traceback.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-05-29 19:37:02 (GMT)
committerGitHub <noreply@github.com>2023-05-29 19:37:02 (GMT)
commit67945261c42d746d0674b4361b2d8efa75e57345 (patch)
tree7dffa49f740a8bad0abdaed25bec08bc95e37ed7 /Lib/traceback.py
parent56722efe36dd5ef8320f1b3fd0a949d85e62e585 (diff)
downloadcpython-67945261c42d746d0674b4361b2d8efa75e57345.zip
cpython-67945261c42d746d0674b4361b2d8efa75e57345.tar.gz
cpython-67945261c42d746d0674b4361b2d8efa75e57345.tar.bz2
[3.12] GH-89455: Add missing attributes (added in 3.11) to traceback module docs (GH-105044) (#105066)
GH-89455: Add missing attributes (added in 3.11) to traceback module docs (GH-105044) (cherry picked from commit 39f6a0489fcc815a578d27dfee2feea003c896f8) Co-authored-by: Jakub Kuczys <me@jacken.men>
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r--Lib/traceback.py2
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.