Mercurial > cpython-lru_cache-weakref
diff Objects/typeobject.c @ 42673:692f57a5dc76
Remove _PyObject_Del
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 19 Aug 2007 22:48:23 +0000 |
| parents | 85c22b4d4455 |
| children | 5355337709e1 |
line wrap: on
line diff
--- a/Objects/typeobject.c Sun Aug 19 18:38:46 2007 +0000 +++ b/Objects/typeobject.c Sun Aug 19 22:48:23 2007 +0000 @@ -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
