mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Inherit tp_new and tp_is_gc.
Bugfix candidate.
This commit is contained in:
parent
2d7e264762
commit
cc8fe0407a
1 changed files with 2 additions and 0 deletions
|
@ -2024,6 +2024,8 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base)
|
||||||
COPYSLOT(tp_init);
|
COPYSLOT(tp_init);
|
||||||
COPYSLOT(tp_alloc);
|
COPYSLOT(tp_alloc);
|
||||||
COPYSLOT(tp_free);
|
COPYSLOT(tp_free);
|
||||||
|
COPYSLOT(tp_new);
|
||||||
|
COPYSLOT(tp_is_gc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue