Description: Replace PyEval_CallObject with PyObject_CallObject deprecated in Python 3.9 and removed in Python 3.13
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2025-01-14

--- a/ghmmwrapper/ghmmwrapper.i
+++ b/ghmmwrapper/ghmmwrapper.i
@@ -169,7 +169,7 @@
         // Build Python arguments
         arglist = Py_BuildValue("(is)", level, message);
         // Call Python
-        PyEval_CallObject(func, arglist);
+        PyObject_CallObject(func, arglist);
         // Trash arguments
         Py_DECREF(arglist);
     }
