Fix generation and build of python classes for 3.8

This commit is contained in:
wmayer
2021-04-27 14:35:34 +02:00
parent f439e62639
commit 56c92d1198
2 changed files with 3 additions and 3 deletions

View File

@@ -285,7 +285,7 @@ PyTypeObject @self.export.Name@::Type = {
0, /*tp_itemsize*/
/* methods */
PyDestructor, /*tp_dealloc*/
#if PY_VERSION_HEX >= 0x03090000
#if PY_VERSION_HEX >= 0x03080000
0, /*tp_vectorcall_offset*/
#else
nullptr, /*tp_print*/