From 63fdb3d2a0d7ea498f158de2a2d8425fa9f62b14 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Fri, 2 Dec 2005 19:36:13 +0000 Subject: [PATCH] fix for older python versions git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7919 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyinit.swg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/python/pyinit.swg b/Lib/python/pyinit.swg index 8c32f94a7..e579f41b4 100644 --- a/Lib/python/pyinit.swg +++ b/Lib/python/pyinit.swg @@ -119,14 +119,10 @@ swig_varlink_type(void) { 0, /* tp_as_buffer */ 0, /* tp_flags */ varlink__doc__, /* tp_doc */ -#if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ -#endif -#if PY_VERSION_HEX >= 0x02010000 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ -#endif #if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ #endif