diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-19 22:48:23 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-19 22:48:23 (GMT) |
commit | 30d1c51ac97a93f68015a0c646bd130140b69a98 (patch) | |
tree | 9e47d4b382382a75c74ea85c1e1325216678a7c0 /Objects | |
parent | 666bb419cb28b799794350abdc9d5a15e1dfc5dc (diff) | |
download | cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.zip cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.gz cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.bz2 |
Remove _PyObject_Del
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index f042f4a..222207c 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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 |