mirror of
https://github.com/python/cpython.git
synced 2025-08-09 11:29:45 +00:00
[3.12] gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286) (#123326)
gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286)
(cherry picked from commit 70bfef52b5
)
Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
This commit is contained in:
parent
86cad493b8
commit
ffa282cc35
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue