diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index 3f6d7fe17..c9aed5d7b 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -184,6 +184,8 @@ statichere PyTypeObject varlinktype = { 0, /* tp_cache */ 0, /* tp_subclasses */ 0, /* tp_weaklist */ +#endif +#if PY_VERSION_HEX >= 0x02030200 0, /* tp_del */ #endif #ifdef COUNT_ALLOCS