X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/0b1b92bd118675e7b54c21c76d1fee39aa9111b8..dc0757504af5097a4bb323d64e429a99f86d1076:/group.c?ds=sidebyside diff --git a/group.c b/group.c index 13ff554..0fc8eb2 100644 --- 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); }