Inherit tp_new and tp_is_gc.

Bugfix candidate.
This commit is contained in:
Guido van Rossum 2002-04-05 17:10:16 +00:00
parent 2d7e264762
commit cc8fe0407a
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}