summaryrefslogtreecommitdiffstats
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
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 6bb37d6..7df585b 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -2591,7 +2591,7 @@
if (match == NULL) goto pop_2_error;
if (!Py_IsNone(match)) {
- PyErr_SetExcInfo(NULL, Py_NewRef(match), NULL);
+ PyErr_SetHandledException(match);
}
#line 2597 "Python/generated_cases.c.h"
stack_pointer[-1] = match;