mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-105140: remove unused arg of _PyErr_ChainStackItem (#105141)
This commit is contained in:
parent
ede89af605
commit
60f8117d0c
3 changed files with 9 additions and 34 deletions
|
@ -222,7 +222,7 @@ gen_send_ex2(PyGenObject *gen, PyObject *arg, PyObject **presult,
|
|||
|
||||
if (exc) {
|
||||
assert(_PyErr_Occurred(tstate));
|
||||
_PyErr_ChainStackItem(NULL);
|
||||
_PyErr_ChainStackItem();
|
||||
}
|
||||
|
||||
gen->gi_frame_state = FRAME_EXECUTING;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue