summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index b40cf41..7a295dc 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -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;