From 99b5d28467f87b3e5b28f35794a7111218e642f8 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Fri, 12 Apr 2002 02:44:22 +0000 Subject: PyObject_GC_Del can now be used as a function designator. --- Objects/descrobject.c | 2 +- Objects/listobject.c | 2 +- Objects/moduleobject.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 924c0b2..339bf70 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1127,5 +1127,5 @@ PyTypeObject PyProperty_Type = { property_init, /* tp_init */ PyType_GenericAlloc, /* tp_alloc */ PyType_GenericNew, /* tp_new */ - _PyObject_GC_Del, /* tp_free */ + PyObject_GC_Del, /* tp_free */ }; diff --git a/Objects/listobject.c b/Objects/listobject.c index f3821f8..44965157 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -1714,7 +1714,7 @@ PyTypeObject PyList_Type = { (initproc)list_init, /* tp_init */ PyType_GenericAlloc, /* tp_alloc */ PyType_GenericNew, /* tp_new */ - _PyObject_GC_Del, /* tp_free */ + PyObject_GC_Del, /* tp_free */ }; diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index 12a3591..807adfa 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -237,5 +237,5 @@ PyTypeObject PyModule_Type = { (initproc)module_init, /* tp_init */ PyType_GenericAlloc, /* tp_alloc */ PyType_GenericNew, /* tp_new */ - _PyObject_GC_Del, /* tp_free */ + PyObject_GC_Del, /* tp_free */ }; -- cgit v0.12