@@ -541,7 +541,7 @@ static PyObject *Dtool_MappingWrapper_keys(PyObject *self, PyObject *) {
541541 sizeof (Dtool_SequenceWrapper),
542542 0 , // tp_itemsize
543543 Dtool_WrapperBase_dealloc,
544- nullptr , // tp_print
544+ 0 , // tp_vectorcall_offset
545545 nullptr , // tp_getattr
546546 nullptr , // tp_setattr
547547 nullptr , // tp_compare
@@ -582,6 +582,13 @@ static PyObject *Dtool_MappingWrapper_keys(PyObject *self, PyObject *) {
582582 nullptr , // tp_subclasses
583583 nullptr , // tp_weaklist
584584 nullptr , // tp_del
585+ 0 , // tp_version_tag,
586+ #if PY_VERSION_HEX >= 0x03040000
587+ nullptr , // tp_finalize
588+ #endif
589+ #if PY_VERSION_HEX >= 0x03080000
590+ nullptr , // tp_vectorcall
591+ #endif
585592 };
586593
587594 static bool registered = false ;
@@ -675,7 +682,7 @@ static PyObject *Dtool_MappingWrapper_values(PyObject *self, PyObject *) {
675682 sizeof (Dtool_MappingWrapper),
676683 0 , // tp_itemsize
677684 Dtool_WrapperBase_dealloc,
678- nullptr , // tp_print
685+ 0 , // tp_vectorcall_offset
679686 nullptr , // tp_getattr
680687 nullptr , // tp_setattr
681688 nullptr , // tp_compare
@@ -716,6 +723,13 @@ static PyObject *Dtool_MappingWrapper_values(PyObject *self, PyObject *) {
716723 nullptr , // tp_subclasses
717724 nullptr , // tp_weaklist
718725 nullptr , // tp_del
726+ 0 , // tp_version_tag,
727+ #if PY_VERSION_HEX >= 0x03040000
728+ nullptr , // tp_finalize
729+ #endif
730+ #if PY_VERSION_HEX >= 0x03080000
731+ nullptr , // tp_vectorcall
732+ #endif
719733 };
720734
721735 static bool registered = false ;
@@ -817,7 +831,7 @@ static PyObject *Dtool_MappingWrapper_items(PyObject *self, PyObject *) {
817831 sizeof (Dtool_MappingWrapper),
818832 0 , // tp_itemsize
819833 Dtool_WrapperBase_dealloc,
820- nullptr , // tp_print
834+ 0 , // tp_vectorcall_offset
821835 nullptr , // tp_getattr
822836 nullptr , // tp_setattr
823837 nullptr , // tp_compare
@@ -858,6 +872,13 @@ static PyObject *Dtool_MappingWrapper_items(PyObject *self, PyObject *) {
858872 nullptr , // tp_subclasses
859873 nullptr , // tp_weaklist
860874 nullptr , // tp_del
875+ 0 , // tp_version_tag,
876+ #if PY_VERSION_HEX >= 0x03040000
877+ nullptr , // tp_finalize
878+ #endif
879+ #if PY_VERSION_HEX >= 0x03080000
880+ nullptr , // tp_vectorcall
881+ #endif
861882 };
862883
863884 static bool registered = false ;
@@ -1192,7 +1213,7 @@ Dtool_SequenceWrapper *Dtool_NewSequenceWrapper(PyObject *self, const char *name
11921213 sizeof (Dtool_SequenceWrapper),
11931214 0 , // tp_itemsize
11941215 Dtool_WrapperBase_dealloc,
1195- nullptr , // tp_print
1216+ 0 , // tp_vectorcall_offset
11961217 nullptr , // tp_getattr
11971218 nullptr , // tp_setattr
11981219 nullptr , // tp_compare
@@ -1233,6 +1254,13 @@ Dtool_SequenceWrapper *Dtool_NewSequenceWrapper(PyObject *self, const char *name
12331254 nullptr , // tp_subclasses
12341255 nullptr , // tp_weaklist
12351256 nullptr , // tp_del
1257+ 0 , // tp_version_tag,
1258+ #if PY_VERSION_HEX >= 0x03040000
1259+ nullptr , // tp_finalize
1260+ #endif
1261+ #if PY_VERSION_HEX >= 0x03080000
1262+ nullptr , // tp_vectorcall
1263+ #endif
12361264 };
12371265
12381266 static bool registered = false ;
@@ -1296,7 +1324,7 @@ Dtool_MutableSequenceWrapper *Dtool_NewMutableSequenceWrapper(PyObject *self, co
12961324 sizeof (Dtool_MutableSequenceWrapper),
12971325 0 , // tp_itemsize
12981326 Dtool_WrapperBase_dealloc,
1299- nullptr , // tp_print
1327+ 0 , // tp_vectorcall_offset
13001328 nullptr , // tp_getattr
13011329 nullptr , // tp_setattr
13021330 nullptr , // tp_compare
@@ -1337,6 +1365,13 @@ Dtool_MutableSequenceWrapper *Dtool_NewMutableSequenceWrapper(PyObject *self, co
13371365 nullptr , // tp_subclasses
13381366 nullptr , // tp_weaklist
13391367 nullptr , // tp_del
1368+ 0 , // tp_version_tag,
1369+ #if PY_VERSION_HEX >= 0x03040000
1370+ nullptr , // tp_finalize
1371+ #endif
1372+ #if PY_VERSION_HEX >= 0x03080000
1373+ nullptr , // tp_vectorcall
1374+ #endif
13401375 };
13411376
13421377 static bool registered = false ;
@@ -1404,7 +1439,7 @@ Dtool_MappingWrapper *Dtool_NewMappingWrapper(PyObject *self, const char *name)
14041439 sizeof (Dtool_MappingWrapper),
14051440 0 , // tp_itemsize
14061441 Dtool_WrapperBase_dealloc,
1407- nullptr , // tp_print
1442+ 0 , // tp_vectorcall_offset
14081443 nullptr , // tp_getattr
14091444 nullptr , // tp_setattr
14101445 nullptr , // tp_compare
@@ -1445,6 +1480,13 @@ Dtool_MappingWrapper *Dtool_NewMappingWrapper(PyObject *self, const char *name)
14451480 nullptr , // tp_subclasses
14461481 nullptr , // tp_weaklist
14471482 nullptr , // tp_del
1483+ 0 , // tp_version_tag,
1484+ #if PY_VERSION_HEX >= 0x03040000
1485+ nullptr , // tp_finalize
1486+ #endif
1487+ #if PY_VERSION_HEX >= 0x03080000
1488+ nullptr , // tp_vectorcall
1489+ #endif
14481490 };
14491491
14501492 static bool registered = false ;
@@ -1517,7 +1559,7 @@ Dtool_MappingWrapper *Dtool_NewMutableMappingWrapper(PyObject *self, const char
15171559 sizeof (Dtool_MappingWrapper),
15181560 0 , // tp_itemsize
15191561 Dtool_WrapperBase_dealloc,
1520- nullptr , // tp_print
1562+ 0 , // tp_vectorcall_offset
15211563 nullptr , // tp_getattr
15221564 nullptr , // tp_setattr
15231565 nullptr , // tp_compare
@@ -1558,6 +1600,13 @@ Dtool_MappingWrapper *Dtool_NewMutableMappingWrapper(PyObject *self, const char
15581600 nullptr , // tp_subclasses
15591601 nullptr , // tp_weaklist
15601602 nullptr , // tp_del
1603+ 0 , // tp_version_tag,
1604+ #if PY_VERSION_HEX >= 0x03040000
1605+ nullptr , // tp_finalize
1606+ #endif
1607+ #if PY_VERSION_HEX >= 0x03080000
1608+ nullptr , // tp_vectorcall
1609+ #endif
15611610 };
15621611
15631612 static bool registered = false ;
@@ -1594,7 +1643,7 @@ Dtool_NewGenerator(PyObject *self, iternextfunc gen_next) {
15941643 sizeof (Dtool_GeneratorWrapper),
15951644 0 , // tp_itemsize
15961645 Dtool_WrapperBase_dealloc,
1597- nullptr , // tp_print
1646+ 0 , // tp_vectorcall_offset
15981647 nullptr , // tp_getattr
15991648 nullptr , // tp_setattr
16001649 nullptr , // tp_compare
@@ -1635,6 +1684,13 @@ Dtool_NewGenerator(PyObject *self, iternextfunc gen_next) {
16351684 nullptr , // tp_subclasses
16361685 nullptr , // tp_weaklist
16371686 nullptr , // tp_del
1687+ 0 , // tp_version_tag,
1688+ #if PY_VERSION_HEX >= 0x03040000
1689+ nullptr , // tp_finalize
1690+ #endif
1691+ #if PY_VERSION_HEX >= 0x03080000
1692+ nullptr , // tp_vectorcall
1693+ #endif
16381694 };
16391695
16401696 if (PyType_Ready (&wrapper_type) < 0 ) {
@@ -1663,7 +1719,7 @@ Dtool_NewStaticProperty(PyTypeObject *type, const PyGetSetDef *getset) {
16631719 sizeof (PyGetSetDescrObject),
16641720 0 , // tp_itemsize
16651721 (destructor)Dtool_StaticProperty_dealloc,
1666- nullptr , // tp_print
1722+ 0 , // tp_vectorcall_offset
16671723 nullptr , // tp_getattr
16681724 nullptr , // tp_setattr
16691725 nullptr , // tp_reserved
@@ -1696,14 +1752,21 @@ Dtool_NewStaticProperty(PyTypeObject *type, const PyGetSetDef *getset) {
16961752 nullptr , // tp_init
16971753 nullptr , // tp_alloc
16981754 nullptr , // tp_new
1699- nullptr , // tp_del
1755+ nullptr , // tp_free
17001756 nullptr , // tp_is_gc
17011757 nullptr , // tp_bases
17021758 nullptr , // tp_mro
17031759 nullptr , // tp_cache
17041760 nullptr , // tp_subclasses
17051761 nullptr , // tp_weaklist
17061762 nullptr , // tp_del
1763+ 0 , // tp_version_tag,
1764+ #if PY_VERSION_HEX >= 0x03040000
1765+ nullptr , // tp_finalize
1766+ #endif
1767+ #if PY_VERSION_HEX >= 0x03080000
1768+ nullptr , // tp_vectorcall
1769+ #endif
17071770 };
17081771
17091772 if (PyType_Ready (&wrapper_type) < 0 ) {
0 commit comments