Commit a9f38fad authored by Stefan Behnel's avatar Stefan Behnel

no need to own an argument passed into a Python function

parent bb3172d4
......@@ -8347,13 +8347,7 @@ static CYTHON_INLINE PyObject *__CyGenerator_SendEx(struct __CyGenerator *self,
static PyObject *__CyGenerator_Next(PyObject *self)
{
struct __CyGenerator *generator = (struct __CyGenerator *) self;
PyObject *retval;
Py_INCREF(Py_None);
retval = __CyGenerator_SendEx(generator, Py_None);
Py_DECREF(Py_None);
return retval;
return __CyGenerator_SendEx((struct __CyGenerator *) self, Py_None);
}
static PyObject *__CyGenerator_Send(PyObject *self, PyObject *value)
......
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