We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3fd1f commit e9233fbCopy full SHA for e9233fb
Doc/library/sys.rst
@@ -1968,8 +1968,11 @@ always available.
1968
When this variable is set to an integer value, it determines the maximum number
1969
of levels of traceback information printed when an unhandled exception occurs.
1970
The default is ``1000``. When set to ``0`` or less, all traceback information
1971
- is suppressed and only the exception type and value are printed.
+ is suppressed and only the exception type and value are printed. Setting it
1972
+ to ``None`` resets the limit to the default value.
1973
1974
+ .. versionchanged:: 3.6.4
1975
+ Can now be set to ``0`` or ``None``.
1976
1977
.. function:: unraisablehook(unraisable, /)
1978
0 commit comments