Commit 2af10fb2 authored by Stefan Behnel's avatar Stefan Behnel

Fix call to PyObject_CallMethodObjArgs() by terminating the argument list with NULL.

parent c3e11181
......@@ -284,7 +284,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_Pop(PyObject *d, PyObject *key, PyOb
#if !(CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B3)
static CYTHON_INLINE PyObject *__Pyx_PyDict_Pop(PyObject *d, PyObject *key, PyObject *default_value) {
// 'default_value' can be NULL
return PyObject_CallMethodObjArgs(d, PYIDENT("pop"), key, default_value);
return PyObject_CallMethodObjArgs(d, PYIDENT("pop"), key, default_value, NULL);
}
#endif
......
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