From: Neil Schemenauer Date: Fri, 12 Apr 2002 02:44:22 +0000 (+0000) Subject: PyObject_GC_Del can now be used as a function designator. X-Git-Tag: v2.3c1~6027 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99b5d28467f87b3e5b28f35794a7111218e642f8;p=python PyObject_GC_Del can now be used as a function designator. --- diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 924c0b2570..339bf70f5f 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 f3821f86fa..449651576f 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 12a35916b5..807adfa3d2 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 */ };