summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-11-28 08:03:25 (GMT)
committerGitHub <noreply@github.com>2023-11-28 08:03:25 (GMT)
commit2c68011780bd68463f5183601ea9c10af368dff6 (patch)
tree88f6ff1359d1825fc6e1f3d8060db856e927ed9c /Doc/library
parent2df26d83486b8f9ac6b7df2a9a4669508aa61983 (diff)
downloadcpython-2c68011780bd68463f5183601ea9c10af368dff6.zip
cpython-2c68011780bd68463f5183601ea9c10af368dff6.tar.gz
cpython-2c68011780bd68463f5183601ea9c10af368dff6.tar.bz2
gh-112332: Deprecate TracebackException.exc_type, add exc_type_str. (#112333)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/traceback.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst
index 408da7f..80dda5e 100644
--- a/Doc/library/traceback.rst
+++ b/Doc/library/traceback.rst
@@ -287,6 +287,14 @@ capture data for later printing in a lightweight fashion.
The class of the original traceback.
+ .. deprecated:: 3.13
+
+ .. attribute:: exc_type_str
+
+ String display of the class of the original exception.
+
+ .. versionadded:: 3.13
+
.. attribute:: filename
For syntax errors - the file name where the error occurred.