Skip to content

Commit 3e6dc3b

Browse files
committed
Fix Python 3.2 compilation error
1 parent 114aee1 commit 3e6dc3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dtool/src/interrogatedb/py_panda.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,9 @@ Dtool_NewStaticProperty(PyTypeObject *type, const PyGetSetDef *getset) {
11481148
#if PY_MAJOR_VERSION >= 3
11491149
descr->d_common.d_type = type;
11501150
descr->d_common.d_name = PyUnicode_InternFromString(getset->name);
1151+
#if PY_VERSION_HEX >= 0x03030000
11511152
descr->d_common.d_qualname = nullptr;
1153+
#endif
11521154
#else
11531155
descr->d_type = type;
11541156
descr->d_name = PyString_InternFromString(getset->name);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy