diff options
author | Michele Calgaro <[email protected]> | 2024-10-05 12:54:44 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-10-05 20:25:47 +0900 |
commit | 3899caa1b0b15e6d946608f3b49cb50f063826f1 (patch) | |
tree | 66b1a4e91288f88935421470bbd5b1f9827a93a2 | |
parent | 9e417736a86f78e272f502df3cc6fe4883e57166 (diff) | |
download | koffice-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.h | 2 |
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 |