diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-04-11 08:38:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 08:38:37 (GMT) |
commit | 78b763f63032a7185c0905c319ead9e9b35787b6 (patch) | |
tree | 065fe97b6d301d4ad35303f4bd5a347f9ecba9c7 /Doc/library/sys.rst | |
parent | 8026cda10ccd3cbc7f7ff84dc6970266512961e4 (diff) | |
download | cpython-78b763f63032a7185c0905c319ead9e9b35787b6.zip cpython-78b763f63032a7185c0905c319ead9e9b35787b6.tar.gz cpython-78b763f63032a7185c0905c319ead9e9b35787b6.tar.bz2 |
gh-103176: sys._current_exceptions() returns mapping to exception instances instead of exc_info tuples (#103177)
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 00721ef..e37d57e 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -220,6 +220,10 @@ always available. .. audit-event:: sys._current_exceptions "" sys._current_exceptions + .. versionchanged:: 3.12 + Each value in the dictionary is now a single exception instance, rather + than a 3-tuple as returned from ``sys.exc_info()``. + .. function:: breakpointhook() This hook function is called by built-in :func:`breakpoint`. By default, |