diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-05 12:54:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-05 12:54:44 +0900 |
commit | 9609561640fca6140badcf6d616a1e39af1f2dbe (patch) | |
tree | 4e203f7105d54ee3d16f8b993bc61ba0c27a288a | |
parent | e1202e46cb4a06d484931f498a9d0cf4d1863056 (diff) | |
download | koffice-9609561640fca6140badcf6d616a1e39af1f2dbe.tar.gz koffice-9609561640fca6140badcf6d616a1e39af1f2dbe.zip |
Replace obsolete python call
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 |