PyObject_GC_Del can now be used as a function designator.

This commit is contained in:
Neil Schemenauer 2002-04-12 02:44:22 +00:00
parent aa769ae468
commit 99b5d28467
3 changed files with 3 additions and 3 deletions

View File

@ -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 */
};

View File

@ -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 */
};

View File

@ -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 */
};