Remove a couple of tp_xxx fields that you are not expected to
initialize (or use or even know about :-).
diff --git a/Modules/xxmodule.c b/Modules/xxmodule.c
index fb0c6fb..29b874b 100644
--- a/Modules/xxmodule.c
+++ b/Modules/xxmodule.c
@@ -138,11 +138,6 @@
         0,                      /*tp_new*/
         0,                      /*tp_free*/
         0,                      /*tp_is_gc*/
-        0,                      /*tp_bases*/
-        0,                      /*tp_mro*/
-        0,                      /*tp_defined*/
-        0,                      /*tp_subclasses*/
-        0,                      /*tp_weaklist*/
 };
 /* --------------------------------------------------------------------- */