Removed old Python code <3.10

This commit is contained in:
mos
2025-03-07 16:58:22 +01:00
committed by Chris Hennes
parent 5bdfd8000b
commit 9f220319d0
9 changed files with 6 additions and 113 deletions

View File

@@ -34,11 +34,7 @@ PyTypeObject FeaturePythonPyT<FeaturePyT>::Type = {
0, /*tp_itemsize*/
/* methods */
FeaturePyT::PyDestructor, /*tp_dealloc*/
#if PY_VERSION_HEX >= 0x03080000
0, /*tp_vectorcall_offset*/
#else
nullptr, /*tp_print*/
#endif
nullptr, /*tp_getattr*/
nullptr, /*tp_setattr*/
nullptr, /*tp_compare*/
@@ -83,12 +79,10 @@ PyTypeObject FeaturePythonPyT<FeaturePyT>::Type = {
nullptr, /*tp_del */
0, /*tp_version_tag */
nullptr /*tp_finalize */
#if PY_VERSION_HEX >= 0x03080000
,0 /*tp_vectorcall */
#if PY_VERSION_HEX >= 0x030c0000
,0 /*tp_watched */
#endif
#endif
};
template<class FeaturePyT>