diff options
Diffstat (limited to 'kig/scripting/python_scripter.cpp')
-rw-r--r-- | kig/scripting/python_scripter.cpp | 4 |
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 ); |