Merge pull request #1887 from jschueller/call
Drop deprecated PyEval_CallObject method
This commit is contained in:
commit
b6c2438d7d
1 changed files with 1 additions and 1 deletions
|
|
@ -33,5 +33,5 @@ SWIGINTERN PyObject *swig_call_defargs(PyObject *self, PyObject *args) {
|
|||
SWIG_PYTHON_THREAD_END_BLOCK;
|
||||
return NULL;
|
||||
}
|
||||
return PyEval_CallObject(func,parms);
|
||||
return PyObject_Call(func, parms, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue