commit | 30d1c51ac97a93f68015a0c646bd130140b69a98 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 19 22:48:23 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 19 22:48:23 2007 +0000 |
tree | 9e47d4b382382a75c74ea85c1e1325216678a7c0 | |
parent | 666bb419cb28b799794350abdc9d5a15e1dfc5dc [diff] [blame] |
Remove _PyObject_Del
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 @@ } 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