Commit 26f68f59 authored by Tim Peters's avatar Tim Peters

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

definition.  Guido, what else did you forget to check in <wink>?
parent a9f6f22f
...@@ -926,7 +926,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds) ...@@ -926,7 +926,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
mp->name = "__weakref__"; mp->name = "__weakref__";
mp->type = T_OBJECT; mp->type = T_OBJECT;
mp->offset = slotoffset; mp->offset = slotoffset;
mp->readonly = 1; mp->flags = READONLY;
mp++; mp++;
slotoffset += sizeof(PyObject *); slotoffset += sizeof(PyObject *);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment