summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/library/sys.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/library/sys.rst b/docs/library/sys.rst
index d36394c88..f4ff8786a 100644
--- a/docs/library/sys.rst
+++ b/docs/library/sys.rst
@@ -144,6 +144,14 @@ Constants
Standard output `stream`.
+.. data:: tracebacklimit
+
+ A mutable attribute holding an integer value which is the maximum number of traceback
+ entries to store in an exception. Set to 0 to disable adding tracebacks. Defaults
+ to 1000.
+
+ Note: this is not available on all ports.
+
.. data:: version
Python language version that this implementation conforms to, as a string.