mirror of https://github.com/python/cpython
gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (#123286)
This commit is contained in:
parent
fdb3f9b588
commit
70bfef52b5
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue