aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2025-01-25 13:00:23 +0000
committerGitHub <noreply@github.com>2025-01-25 13:00:23 +0000
commitc39ae8922bad3e5ceeafa05891536c1584b6f3db (patch)
tree04eb746a11e49b7e2da5fc9992bffc0b0e39cbfb /Python/generated_cases.c.h
parent9e52e553f4a906c120f807e940891f7325011b67 (diff)
downloadcpython-c39ae8922bad3e5ceeafa05891536c1584b6f3db.tar.gz
cpython-c39ae8922bad3e5ceeafa05891536c1584b6f3db.zip
gh-128799: Add frame of except* to traceback when wrapping a naked exception (#128971)
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r--Python/generated_cases.c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index 4fb3ce6f6da..027849180a8 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -3201,7 +3201,7 @@
PyObject *match_o = NULL;
PyObject *rest_o = NULL;
_PyFrame_SetStackPointer(frame, stack_pointer);
- int res = _PyEval_ExceptionGroupMatch(exc_value, match_type,
+ int res = _PyEval_ExceptionGroupMatch(frame, exc_value, match_type,
&match_o, &rest_o);
stack_pointer = _PyFrame_GetStackPointer(frame);
PyStackRef_CLOSE(exc_value_st);