|
|
@ -316,7 +316,7 @@ PythonType::PythonType( size_t basic_size, int itemsize, const char *default_nam
|
|
|
|
#if PY_MAJOR_VERSION > 2 || (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 1)
|
|
|
|
#if PY_MAJOR_VERSION > 2 || (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 1)
|
|
|
|
// first defined in 2.1
|
|
|
|
// first defined in 2.1
|
|
|
|
table->tp_richcompare = 0L;
|
|
|
|
table->tp_richcompare = 0L;
|
|
|
|
table->tp_weatdelistoffset = 0L;
|
|
|
|
table->tp_weaklistoffset = 0L;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
table->tp_xxx7 = 0L;
|
|
|
|
table->tp_xxx7 = 0L;
|
|
|
|
table->tp_xxx8 = 0L;
|
|
|
|
table->tp_xxx8 = 0L;
|
|
|
|