Skip to content

Commit a227ce5

Browse files
cfbolzhugovk
andauthored
Update Doc/library/traceback.rst
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 0de4934 commit a227ce5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Doc/library/traceback.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ The module defines the following functions:
4242
:term:`file <file object>` or :term:`file-like object` to
4343
receive the output.
4444

45-
Note that the meaning of the *limit* parameter is different than the meaning
46-
of :const:`sys.tracebacklimit`. Negative *limit* values correspond to
47-
positive values of :const:`sys.tracebacklimit`, whereas the behaviour of
48-
positive *limit* values cannot be achieved with
49-
:const:`sys.tracebacklimit`.
45+
.. note::
46+
47+
The meaning of the *limit* parameter is different than the meaning
48+
of :const:`sys.tracebacklimit`. A negative *limit* value corresponds to
49+
a positive value of :const:`!sys.tracebacklimit`, whereas the behaviour of
50+
a positive *limit* value cannot be achieved with
51+
:const:`!sys.tracebacklimit`.
5052

5153
.. versionchanged:: 3.5
5254
Added negative *limit* support.

0 commit comments

Comments
 (0)