]> 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 03:05:52 +0000 (03:05 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 12 Apr 2002 03:05:52 +0000 (03:05 +0000)
Objects/tupleobject.c

index ab792def9323a31a9d8388831dda6cf07ad422fe..581ccf9c6a61ec7a7868c972ae58e8fca45b559d 100644 (file)
@@ -582,7 +582,7 @@ PyTypeObject PyTuple_Type = {
        0,                                      /* tp_init */
        0,                                      /* tp_alloc */
        tuple_new,                              /* tp_new */
-       _PyObject_GC_Del,                       /* tp_free */
+       PyObject_GC_Del,                        /* tp_free */
 };
 
 /* The following function breaks the notion that tuples are immutable: