summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/cxx
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-05 12:54:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-05 12:54:44 +0900
commit9609561640fca6140badcf6d616a1e39af1f2dbe (patch)
tree4e203f7105d54ee3d16f8b993bc61ba0c27a288a /lib/kross/python/cxx
parente1202e46cb4a06d484931f498a9d0cf4d1863056 (diff)
downloadkoffice-9609561640fca6140badcf6d616a1e39af1f2dbe.tar.gz
koffice-9609561640fca6140badcf6d616a1e39af1f2dbe.zip
Replace obsolete python call
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kross/python/cxx')
-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