summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-10-05 12:54:44 +0900
committerMichele Calgaro <[email protected]>2024-10-05 20:25:47 +0900
commit3899caa1b0b15e6d946608f3b49cb50f063826f1 (patch)
tree66b1a4e91288f88935421470bbd5b1f9827a93a2
parent9e417736a86f78e272f502df3cc6fe4883e57166 (diff)
downloadkoffice-3899caa1b0b15e6d946608f3b49cb50f063826f1.tar.gz
koffice-3899caa1b0b15e6d946608f3b49cb50f063826f1.zip
Replace obsolete python callr14.1.3
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 9609561640fca6140badcf6d616a1e39af1f2dbe)
-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