]> granicus.if.org Git - python/commitdiff
PyObject_GC_Del can now be used as a function designator.
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 12 Apr 2002 02:44:22 +0000 (02:44 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 12 Apr 2002 02:44:22 +0000 (02:44 +0000)
Objects/descrobject.c
Objects/listobject.c
Objects/moduleobject.c

index 924c0b2570368d4cb12470ce8aae1bb3ea843f9f..339bf70f5f2b6efbea228eb15e6945b36087cc76 100644 (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 */
 };
index f3821f86fac03cecf3c25a9516c4509f4ac55861..449651576fcbaca544e43b936d828b00a2514db9 100644 (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 */
 };
 
 
index 12a35916b5b8a4b59ec19c3d4e2b45792feafb3d..807adfa3d282306e6b49c67db28c39fa445590cc 100644 (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 */
 };