10000 GH-89455: Add missing attributes (added in 3.11) to traceback module docs by Jackenmen · Pull Request #105044 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-89455: Add missing attributes (added in 3.11) to traceback module docs #105044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 29, 2023
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
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.

.. versionadded:: 3.11

Expand Down
0