mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
py_panda: fix use of macro that was removed in Python 3.8
This commit is contained in:
parent
3024e6daeb
commit
5310945f4c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user