Replace obsolete python call

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9609561640)
r14.1.x r14.1.3
Michele Calgaro 10 months ago
parent 9e417736a8
commit 3899caa1b0
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -2574,7 +2574,7 @@ namespace Py
// Call with keywords // Call with keywords
Object apply(const Tuple& args, const Dict& kw) const Object apply(const Tuple& args, const Dict& kw) const
{ {
return asObject( PyEval_CallObjectWithKeywords( ptr(), args.ptr(), kw.ptr() ) ); return asObject(PyObject_CallObject(ptr(), args.ptr(), kw.ptr()));
} }
Object apply(PyObject* pargs = 0) const Object apply(PyObject* pargs = 0) const

Loading…
Cancel
Save