summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-04-11 08:38:37 (GMT)
committerGitHub <noreply@github.com>2023-04-11 08:38:37 (GMT)
commit78b763f63032a7185c0905c319ead9e9b35787b6 (patch)
tree065fe97b6d301d4ad35303f4bd5a347f9ecba9c7 /Doc/library/sys.rst
parent8026cda10ccd3cbc7f7ff84dc6970266512961e4 (diff)
downloadcpython-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.rst4
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,