Skip to content
Open
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
5 changes: 4 additions & 1 deletion Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1968,8 +1968,11 @@ always available.
When this variable is set to an integer value, it determines the maximum number
of levels of traceback information printed when an unhandled exception occurs.
The default is ``1000``. When set to ``0`` or less, all traceback information
is suppressed and only the exception type and value are printed.
is suppressed and only the exception type and value are printed. Setting it
to ``None`` resets the limit to the default value.

.. versionchanged:: 3.6.4
Can now be set to ``0`` or ``None``.

.. function:: unraisablehook(unraisable, /)

Expand Down
Loading