summaryrefslogtreecommitdiffstats
path: root/Lib/traceback.py
diff options
context:
space:
mode:
authorJakub Kuczys <me@jacken.men>2023-06-05 16:10:13 (GMT)
committerGitHub <noreply@github.com>2023-06-05 16:10:13 (GMT)
commita4f72fa39a9d391c7b931ba1906d81da4ae01949 (patch)
tree8121c5ad65aca0a0bcf9940861672fded4747157 /Lib/traceback.py
parenteb0ce92141cd14196a8922cfe9df4a713c5c1d9b (diff)
downloadcpython-a4f72fa39a9d391c7b931ba1906d81da4ae01949.zip
cpython-a4f72fa39a9d391c7b931ba1906d81da4ae01949.tar.gz
cpython-a4f72fa39a9d391c7b931ba1906d81da4ae01949.tar.bz2
gh-89412: Add missing attributes (added in 3.10) to traceback module docs (#105046)
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r--Lib/traceback.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py
index 0ea77bf..21e3204 100644
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -674,8 +674,8 @@ class TracebackException:
occurred.
- :attr:`offset` For syntax errors - the offset into the text where the
error occurred.
- - :attr:`end_offset` For syntax errors - the offset into the text where the
- error occurred. Can be `None` if not present.
+ - :attr:`end_offset` For syntax errors - the end offset into the text where
+ the error occurred. Can be `None` if not present.
- :attr:`msg` For syntax errors - the compiler error message.
"""