diff Objects/funcobject.c @ 22974:72778ec94dec legacy-trunk

PyObject_Del can now be used as a function designator.
author Neil Schemenauer <nascheme@enme.ucalgary.ca>
date Fri, 12 Apr 2002 02:44:10 +0000
parents d99a1ddf9518
children ed1ba37a46b7
line wrap: on
line diff
--- a/Objects/funcobject.c	Fri Apr 12 02:43:00 2002 +0000
+++ b/Objects/funcobject.c	Fri Apr 12 02:44:10 2002 +0000
@@ -554,7 +554,7 @@
 	cm_init,				/* tp_init */
 	PyType_GenericAlloc,			/* tp_alloc */
 	PyType_GenericNew,			/* tp_new */
-	_PyObject_Del,				/* tp_free */
+	PyObject_Del,		                /* tp_free */
 };
 
 PyObject *
@@ -683,7 +683,7 @@
 	sm_init,				/* tp_init */
 	PyType_GenericAlloc,			/* tp_alloc */
 	PyType_GenericNew,			/* tp_new */
-	_PyObject_Del,				/* tp_free */
+	PyObject_Del,           		/* tp_free */
 };
 
 PyObject *