Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
Jackenmen and iritkatriel authored May 28, 2023
commit a9b786081f9b81993c29ef6cd53df2142a8c1349
4 changes: 2 additions & 2 deletions Doc/library/traceback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ capture data for later printing in a lightweight fashion.
Note that when locals are captured, they are also shown in the traceback.

*max_group_width* and *max_group_depth* control the formatting of exception
groups. The depth refers to the nesting level of the group, and the width
groups (see :exc:`BaseExceptionGroup`). The depth refers to the nesting level of the group, and the width
Comment thread
Jackenmen marked this conversation as resolved.
Outdated
refers to the size of a single exception group's exceptions array. The
formatted output is truncated when either limit is exceeded.

Expand All @@ -245,7 +245,7 @@ capture data for later printing in a lightweight fashion.

.. attribute:: exceptions

For exception groups - a list of :class:`TracebackException` of the original ``exceptions``.
If ``self`` represents an :exc:`ExceptionGroup` - a list of :class:`TracebackException` instances representing the nested exceptions.
Comment thread
Jackenmen marked this conversation as resolved.
Outdated

.. versionadded:: 3.11

Expand Down