PyAPI: remove Python 3.7x compatibility code

This removes Python version checks needed to build with 3.8+ and 3.7x.

Ref D10381
This commit is contained in:
2021-02-12 08:08:15 +11:00
parent 7952ed872a
commit d21f445469
157 changed files with 4871 additions and 5531 deletions

View File

@@ -167,11 +167,7 @@ static PyTypeObject bmesh_op_Type = {
0, /* tp_itemsize */
/* methods */
NULL, /* tp_dealloc */
#if PY_VERSION_HEX >= 0x03080000
0, /* tp_vectorcall_offset */
#else
(printfunc)NULL, /* printfunc tp_print */
#endif
0, /* tp_vectorcall_offset */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
NULL,