diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-11-28 08:03:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 08:03:25 (GMT) |
commit | 2c68011780bd68463f5183601ea9c10af368dff6 (patch) | |
tree | 88f6ff1359d1825fc6e1f3d8060db856e927ed9c /Doc/library | |
parent | 2df26d83486b8f9ac6b7df2a9a4669508aa61983 (diff) | |
download | cpython-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.rst | 8 |
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. |