Browse Source

indicate we're not running as we leave this block

pull/2332/head
Benjamin Peterson 14 years ago
parent
commit
9fc309083a
  1. 1
      Objects/genobject.c

1
Objects/genobject.c

@ -356,6 +356,7 @@ gen_throw(PyGenObject *gen, PyObject *args)
PyErr_Clear();
Py_DECREF(yf);
gen_undelegate(gen);
gen->gi_running = 0;
goto throw_here;
}
ret = PyObject_CallObject(meth, args);

Loading…
Cancel
Save