Drop deprecated PyEval_CallObject method
see https://docs.python.org/3.9/whatsnew/3.9.html
This commit is contained in:
parent
bc09d05174
commit
9ed60ac7a0
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