mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-98831: rewrite CHECK_EG_MATCH opcode in the instruction definition DSL (#101269)
This commit is contained in:
parent
7589d713a1
commit
8c183cddd3
4 changed files with 27 additions and 58 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue