Replace obsolete python call

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/80/head
Michele Calgaro 2 months ago
parent e1202e46cb
commit 9609561640
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