Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
@ -2574,7 +2574,7 @@ namespace Py
// Call with keywords
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