X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/0b1b92bd118675e7b54c21c76d1fee39aa9111b8..dc0757504af5097a4bb323d64e429a99f86d1076:/ec.c diff --git a/ec.c b/ec.c index a294f09..d27036e 100644 --- a/ec.c +++ b/ec.c @@ -916,7 +916,7 @@ static PyObject *eccurve_dopywrap(PyTypeObject *ty, cobj->ty.ht_type.tp_alloc = PyType_GenericAlloc; cobj->ty.ht_type.tp_free = 0; cobj->ty.ht_type.tp_new = ecpt_pynew; - PyType_Ready(&cobj->ty.ht_type); + typeready(&cobj->ty.ht_type); return ((PyObject *)cobj); }