Skip to content

Commit

Permalink
py_panda: fix use of macro that was removed in Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Feb 11, 2019
1 parent 3024e6d commit 5310945
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dtool/src/interrogatedb/py_wrappers.cxx
Expand Up @@ -1091,7 +1091,11 @@ static PyObject *Dtool_GeneratorWrapper_iternext(PyObject *self) {
*/
static void
Dtool_StaticProperty_dealloc(PyDescrObject *descr) {
#if PY_VERSION_HEX >= 0x03080000
PyObject_GC_UnTrack(descr);
#else
_PyObject_GC_UNTRACK(descr);
#endif
Py_XDECREF(descr->d_type);
Py_XDECREF(descr->d_name);
//#if PY_MAJOR_VERSION >= 3
Expand Down

0 comments on commit 5310945

Please sign in to comment.