summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-05-30 15:50:23 (GMT)
committerGitHub <noreply@github.com>2023-05-30 15:50:23 (GMT)
commitb45df737d43e809b1c41b9b2056ecb28c3cfb288 (patch)
tree70cc61338652bffc07f89a304d0e2c1c045e7d87 /Include
parent7899fac3c5fba3b8258cdd72562230c51164d778 (diff)
downloadcpython-b45df737d43e809b1c41b9b2056ecb28c3cfb288.zip
cpython-b45df737d43e809b1c41b9b2056ecb28c3cfb288.tar.gz
cpython-b45df737d43e809b1c41b9b2056ecb28c3cfb288.tar.bz2
[3.12] gh-105071: add PyUnstable_Exc_PrepReraiseStar to expose except* implementation in the unstable API (GH-105072) (#105095)
(cherry picked from commit b7aadb4583b040ddc8564896b91f4e5e571c82d6)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/pyerrors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h
index 758804a..156665c 100644
--- a/Include/cpython/pyerrors.h
+++ b/Include/cpython/pyerrors.h
@@ -116,6 +116,10 @@ PyAPI_FUNC(int) _PyException_AddNote(
PyObject *exc,
PyObject *note);
+PyAPI_FUNC(PyObject*) PyUnstable_Exc_PrepReraiseStar(
+ PyObject *orig,
+ PyObject *excs);
+
/* In signalmodule.c */
int PySignal_SetWakeupFd(int fd);