summaryrefslogtreecommitdiffstats
path: root/Doc/library/traceback.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-26 06:00:49 (GMT)
committerGitHub <noreply@github.com>2018-10-26 06:00:49 (GMT)
commitddb961d2abe5d5fde76d85b21a77e4e91e0043ad (patch)
tree2cd70e8cdb5a4b8c4b65e079b66a3492b26fec30 /Doc/library/traceback.rst
parent3ec9af75f6825a32f369ee182a388c365db241b6 (diff)
downloadcpython-ddb961d2abe5d5fde76d85b21a77e4e91e0043ad.zip
cpython-ddb961d2abe5d5fde76d85b21a77e4e91e0043ad.tar.gz
cpython-ddb961d2abe5d5fde76d85b21a77e4e91e0043ad.tar.bz2
bpo-35054: Add more index entries for symbols. (GH-10064)
Diffstat (limited to 'Doc/library/traceback.rst')
-rw-r--r--Doc/library/traceback.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst
index 7ac3cacd..a21ef8e 100644
--- a/Doc/library/traceback.rst
+++ b/Doc/library/traceback.rst
@@ -44,7 +44,11 @@ The module defines the following functions:
* if *tb* is not ``None``, it prints a header ``Traceback (most recent
call last):``
+
* it prints the exception *etype* and *value* after the stack trace
+
+ .. index:: single: ^; caret
+
* if *type(value)* is :exc:`SyntaxError` and *value* has the appropriate
format, it prints the line where the syntax error occurred with a caret
indicating the approximate position of the error.