summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-11 09:58:27 (GMT)
committerGitHub <noreply@github.com>2023-08-11 09:58:27 (GMT)
commitddca26188d7828ecb762213f4b9c15d44b6048cc (patch)
treef672d02823b3e9e0530cd2a201bcf44837aff7d5 /Python/ceval.c
parent7853c769067699c79c0d4fe4967e9d8f8b8b0a5e (diff)
downloadcpython-ddca26188d7828ecb762213f4b9c15d44b6048cc.zip
cpython-ddca26188d7828ecb762213f4b9c15d44b6048cc.tar.gz
cpython-ddca26188d7828ecb762213f4b9c15d44b6048cc.tar.bz2
[3.12] GH-107724: Fix the signature of `PY_THROW` callback functions. (GH-107725) (#107802)
GH-107724: Fix the signature of `PY_THROW` callback functions. (GH-107725) (cherry picked from commit 52fbcf61b5a70993c2d32332ff0ad9f369d968d3) Co-authored-by: Mark Shannon <mark@hotpy.org>
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 88d6362..c6f54dd 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2099,7 +2099,7 @@ monitor_throw(PyThreadState *tstate,
if (no_tools_for_event(tstate, frame, PY_MONITORING_EVENT_PY_THROW)) {
return;
}
- _Py_call_instrumentation_exc0(tstate, PY_MONITORING_EVENT_PY_THROW, frame, instr);
+ do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_PY_THROW);
}
void