summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pyerrors.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-05-30 14:03:36 (GMT)
committerGitHub <noreply@github.com>2023-05-30 14:03:36 (GMT)
commitb7aadb4583b040ddc8564896b91f4e5e571c82d6 (patch)
tree665822d1ce0896a4adaa79a7981f6916a6b08d61 /Include/cpython/pyerrors.h
parentbd98b65e974b7a1e086a51e7b55131582f7a0491 (diff)
downloadcpython-b7aadb4583b040ddc8564896b91f4e5e571c82d6.zip
cpython-b7aadb4583b040ddc8564896b91f4e5e571c82d6.tar.gz
cpython-b7aadb4583b040ddc8564896b91f4e5e571c82d6.tar.bz2
gh-105071: add PyUnstable_Exc_PrepReraiseStar to expose except* implementation in the unstable API (#105072)
Diffstat (limited to 'Include/cpython/pyerrors.h')
-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);