Skip to content

Commit a2108da

Browse files
authored
Update Misc/NEWS.d/next/Library/2025-04-10-13-06-42.gh-issue-132308.1js5SI.rst
1 parent 312249a commit a2108da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
The :class:`traceback.TracebackException` must include the ``__context__``, ``__cause__`` attributes
2-
from falsey Exception, and the ``exceptions`` attribute from falsey ``ExceptionGroup`` in its render.
3-
For *falsey* term, see https://docs.python.org/3/library/stdtypes.html#truth-value-testing.
1+
A :class:`traceback.TracebackException` now correctly renders the ``__context__``
2+
and ``__cause__`` attributes from :ref:`falsey <truth-value-testing>` :class:`Exception`,
3+
and the ``exceptions`` attribute from falsey :class:`ExceptionGroup`.

0 commit comments

Comments
 (0)