Commit 137c064f authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.23.x'

parents a3485428 7eed8d8f
......@@ -566,8 +566,7 @@ static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value) {
#endif
{
if (value == Py_None)
// FIXME - is this the right thing to do?
ret = PyIter_Next(yf);
ret = Py_TYPE(yf)->tp_iternext(yf);
else
ret = __Pyx_PyObject_CallMethod1(yf, PYIDENT("send"), 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