Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
Update Doc/library/traceback.rst
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
cfbolz and hugovk authored Aug 25, 2024
commit a227ce57b681e91856e3834f4074c4a3dd67e65e
12 changes: 7 additions & 5 deletions Doc/library/traceback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ The module defines the following functions:
:term:`file <file object>` or :term:`file-like object` to
receive the output.

Note that the meaning of the *limit* parameter is different than the meaning
of :const:`sys.tracebacklimit`. Negative *limit* values correspond to
positive values of :const:`sys.tracebacklimit`, whereas the behaviour of
positive *limit* values cannot be achieved with
:const:`sys.tracebacklimit`.
.. note::

The meaning of the *limit* parameter is different than the meaning
of :const:`sys.tracebacklimit`. A negative *limit* value corresponds to
a positive value of :const:`!sys.tracebacklimit`, whereas the behaviour of
a positive *limit* value cannot be achieved with
:const:`!sys.tracebacklimit`.

.. versionchanged:: 3.5
Added negative *limit* support.
Expand Down