X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/b115b0c0883c2af8170b0e733bb1c47b40f2647e..be17c8c27ee7ae2e14fe34bb517484a11b1cf300:/catacomb.c diff --git a/catacomb.c b/catacomb.c index a914bff..7d3cba7 100644 --- a/catacomb.c +++ b/catacomb.c @@ -231,7 +231,7 @@ PyObject *make_grouptab(const void *tab, size_t esz, } static const PyTypeObject thingtab_pytype_skel = { - PyObject_HEAD_INIT(0) 0, /* Header */ + PyVarObject_HEAD_INIT(0, 0) /* Header */ "_MiscTable", /* @tp_name@ */ sizeof(thingtab_pyobj), /* @tp_basicsize@ */ 0, /* @tp_itemsize@ */