Remove _PyObject_Del

This commit is contained in:
Neal Norwitz 2007-08-19 22:48:23 +00:00
parent 666bb419cb
commit 30d1c51ac9
8 changed files with 7 additions and 17 deletions

View file

@ -3302,7 +3302,7 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base)
}
else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
type->tp_free == NULL &&
base->tp_free == _PyObject_Del) {
base->tp_free == PyObject_Free) {
/* A bit of magic to plug in the correct default
* tp_free function when a derived class adds gc,
* didn't define tp_free, and the base uses the