summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/kross/python/cxx/Objects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/python/cxx/Objects.h b/lib/kross/python/cxx/Objects.h
index b6ab958b..c2e6c228 100644
--- a/lib/kross/python/cxx/Objects.h
+++ b/lib/kross/python/cxx/Objects.h
@@ -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