chiark / gitweb /
Fix the missing-module-names bug properly.
[catacomb-python] / group.c
diff --git a/group.c b/group.c
index 13ff554d97edaf7e810a917aa46a1c27d3954ba5..0fc8eb2b228886e7d65278d0a7829a443bc618cb 100644 (file)
--- a/group.c
+++ b/group.c
@@ -542,7 +542,7 @@ static PyObject *group_dopywrap(PyTypeObject *ty, group *g)
   gobj->ty.ht_type.tp_alloc = PyType_GenericAlloc;
   gobj->ty.ht_type.tp_free = 0;
   gobj->ty.ht_type.tp_new = ge_pynew;
-  PyType_Ready(&gobj->ty.ht_type);
+  typeready(&gobj->ty.ht_type);
   return ((PyObject *)gobj);
 }