summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-01-24 09:43:16 (GMT)
committerGitHub <noreply@github.com>2023-01-24 09:43:16 (GMT)
commit8c183cddd3d0031c6d397738f73c20ee6bf61ce8 (patch)
tree6e0f0242f2ca63a3b97b44a9b612ede620e8c104 /Python/ceval.c
parent7589d713a14a1efbb0cbb7caa9fdbad2b081cf18 (diff)
downloadcpython-8c183cddd3d0031c6d397738f73c20ee6bf61ce8.zip
cpython-8c183cddd3d0031c6d397738f73c20ee6bf61ce8.tar.gz
cpython-8c183cddd3d0031c6d397738f73c20ee6bf61ce8.tar.bz2
gh-98831: rewrite CHECK_EG_MATCH opcode in the instruction definition DSL (#101269)
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 a97313c..95eb99b 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1946,7 +1946,7 @@ exception_group_match(PyObject* exc_value, PyObject *match_type,
}
/* no match */
*match = Py_NewRef(Py_None);
- *rest = Py_NewRef(Py_None);
+ *rest = Py_NewRef(exc_value);
return 0;
}