Inherit tp_new and tp_is_gc.
Bugfix candidate.
This commit is contained in:
parent
2d7e264762
commit
cc8fe0407a
@ -2024,6 +2024,8 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base)
|
||||
COPYSLOT(tp_init);
|
||||
COPYSLOT(tp_alloc);
|
||||
COPYSLOT(tp_free);
|
||||
COPYSLOT(tp_new);
|
||||
COPYSLOT(tp_is_gc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user