Skip to content
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

gh-109184: update traceback module doc w.r.t notes (message is no longer always at the end) #109201

Merged
merged 5 commits into from
Sep 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move versionchanged around
  • Loading branch information
iritkatriel committed Sep 12, 2023
commit db3d8b3546135ba903e7cd2f7bc10cc5f780b289
17 changes: 9 additions & 8 deletions Doc/library/traceback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,12 @@ capture data for later printing in a lightweight fashion.
group's exceptions array. The formatted output is truncated when either
limit is exceeded.

.. versionchanged:: 3.10
Added the *compact* parameter.

.. versionchanged:: 3.11
Added the *max_group_width* and *max_group_depth* parameters.

.. attribute:: __cause__

A :class:`TracebackException` of the original ``__cause__``.
Expand Down Expand Up @@ -349,17 +355,12 @@ capture data for later printing in a lightweight fashion.
:exc:`BaseExceptionGroup`, the nested exceptions are included as
iritkatriel marked this conversation as resolved.
Show resolved Hide resolved
well, recursively, with indentation relative to their nesting depth.

.. versionchanged:: 3.11
The exception's notes are now included in the output.

.. versionchanged:: 3.13
Added the *show_group* parameter.

.. versionchanged:: 3.10
Added the *compact* parameter.

.. versionchanged:: 3.11
Added the *max_group_width* and *max_group_depth* parameters.
The exception's notes are now included in the output.



:class:`StackSummary` Objects
-----------------------------
Expand Down