summaryrefslogtreecommitdiffstats
path: root/kig
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2024-09-26 15:29:35 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-09-26 22:49:43 +0900
commitd7569eb49bb9cf033b12f9bc6fa8cbd58fe95036 (patch)
treee7bde06a473952c9fb3056e177058d07e95351ea /kig
parent8199c97727207dd444852f9cab1861d0c1a34fd8 (diff)
downloadtdeedu-r14.1.3.tar.gz
tdeedu-r14.1.3.zip
Fix FTBFS with Python 3.13.r14.1.3
This solves issue #46. Signed-off-by: François Andriot <albator78@libertysurf.fr> (cherry picked from commit 0e74dd2dcc32727fcd97c44f2341711fe8a27d8c)
Diffstat (limited to 'kig')
-rw-r--r--kig/scripting/python_scripter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/scripting/python_scripter.cpp b/kig/scripting/python_scripter.cpp
index 00c7e162..f39d7121 100644
--- a/kig/scripting/python_scripter.cpp
+++ b/kig/scripting/python_scripter.cpp
@@ -495,9 +495,9 @@ ObjectImp* PythonScripter::calc( CompiledPythonScript& script, const Args& args
};
tuple argstup( argstuph );
- handle<> reth( PyEval_CallObject( calcfunc.ptr(), argstup.ptr() ) );
+ handle<> reth( PyObject_CallObject( calcfunc.ptr(), argstup.ptr() ) );
// object resulto = calcfunc( argstup );
-// handle<> reth( PyEval_CallObject( calcfunc.ptr(), args ) );
+// handle<> reth( PyObject_CallObject( calcfunc.ptr(), args ) );
object resulto( reth );
extract<ObjectImp&> result( resulto );