mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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:
parent
a9f6f22f72
commit
26f68f5957
1 changed files with 1 additions and 1 deletions
|
@ -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 *);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue