remove python2.x support
This commit is contained in:
@@ -104,13 +104,7 @@ bool SCA_AlwaysSensor::Evaluate()
|
||||
|
||||
/* Integration hooks ------------------------------------------------------- */
|
||||
PyTypeObject SCA_AlwaysSensor::Type = {
|
||||
#if (PY_VERSION_HEX >= 0x02060000)
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
#else
|
||||
/* python 2.5 and below */
|
||||
PyObject_HEAD_INIT( NULL ) /* required py macro */
|
||||
0, /* ob_size */
|
||||
#endif
|
||||
"SCA_AlwaysSensor",
|
||||
sizeof(PyObjectPlus_Proxy),
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user