Skip to content
Merged
Changes from all commits
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
8 changes: 8 additions & 0 deletions Doc/library/traceback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ The module defines the following functions:
:term:`file <file object>` or :term:`file-like object` to
receive the output.

.. 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