Kaydet (Commit) f50af113 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

space

üst 2afe6aea
...@@ -53,7 +53,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc) ...@@ -53,7 +53,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc)
"generator already executing"); "generator already executing");
return NULL; return NULL;
} }
if (f==NULL || f->f_stacktop == NULL) { if (f == NULL || f->f_stacktop == NULL) {
/* Only set exception if called from send() */ /* Only set exception if called from send() */
if (arg && !exc) if (arg && !exc)
PyErr_SetNone(PyExc_StopIteration); PyErr_SetNone(PyExc_StopIteration);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment