From a227ce57b681e91856e3834f4074c4a3dd67e65e Mon Sep 17 00:00:00 2001 From: CF Bolz-Tereick Date: Sun, 25 Aug 2024 18:35:34 +0200 Subject: [PATCH] Update Doc/library/traceback.rst Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Doc/library/traceback.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst index 5d1fc1c3de0d8f..401e12be45f418 100644 --- a/Doc/library/traceback.rst +++ b/Doc/library/traceback.rst @@ -42,11 +42,13 @@ The module defines the following functions: :term:`file ` or :term:`file-like object` to receive the output. - Note that the meaning of the *limit* parameter is different than the meaning - of :const:`sys.tracebacklimit`. Negative *limit* values correspond to - positive values of :const:`sys.tracebacklimit`, whereas the behaviour of - positive *limit* values cannot be achieved with - :const:`sys.tracebacklimit`. + .. 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.