diff options
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Objects/listobject.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -213,6 +213,7 @@ Joerg-Cyril Hoehle Gregor Hoffleit Chris Hoffman Albert Hofkamp +Jonathan Hogg Gerrit Holl Philip Homburg Naofumi Honda diff --git a/Objects/listobject.c b/Objects/listobject.c index dd2d5806dd..4825e9b0b9 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -780,7 +780,7 @@ docompare(PyObject *x, PyObject *y, PyObject *compare) Py_INCREF(y); PyTuple_SET_ITEM(args, 0, x); PyTuple_SET_ITEM(args, 1, y); - res = PyEval_CallObject(compare, args); + res = PyObject_Call(compare, args, NULL); Py_DECREF(args); if (res == NULL) return CMPERROR; |