type_new(): Didn't compile anymore, due to change in struct memberlist

definition.  Guido, what else did you forget to check in <wink>?
This commit is contained in:
Tim Peters 2001-09-18 00:23:33 +00:00
parent a9f6f22f72
commit 26f68f5957

View file

@ -926,7 +926,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
mp->name = "__weakref__";
mp->type = T_OBJECT;
mp->offset = slotoffset;
mp->readonly = 1;
mp->flags = READONLY;
mp++;
slotoffset += sizeof(PyObject *);
}