This commit is contained in:
Benjamin Peterson 2014-04-13 23:52:43 -04:00
commit a548a30fed
3 changed files with 23 additions and 1 deletions

View file

@ -1926,7 +1926,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
if (v == Py_None)
retval = Py_TYPE(reciever)->tp_iternext(reciever);
else
retval = _PyObject_CallMethodId(reciever, &PyId_send, "O", v);
retval = _PyObject_CallMethodIdObjArgs(reciever, &PyId_send, v, NULL);
}
Py_DECREF(v);
if (retval == NULL) {