libpreludedb/libpreludedb-5.2.0-fix_py38.patch
2020-09-18 17:09:33 +02:00

12 lines
398 B
Diff

--- ./bindings/python/_preludedb.cxx 2019-07-13 08:39:59.744285379 +0200
+++ ./bindings/python/_preludedb.cxx 2019-07-13 08:41:47.364117843 +0200
@@ -3133,7 +3133,7 @@
SWIGINTERN void
SwigPyStaticVar_dealloc(PyDescrObject *descr) {
- _PyObject_GC_UNTRACK(descr);
+ PyObject_GC_UnTrack(descr);
Py_XDECREF(PyDescr_TYPE(descr));
Py_XDECREF(PyDescr_NAME(descr));
PyObject_GC_Del(descr);