mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[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 39f6a0489f
)
Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
parent
56722efe36
commit
67945261c4
3 changed files with 23 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue