comparison Modules/arraymodule.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 ba68dda15df0
children 18f8a7b56f89
comparison
equal deleted inserted replaced
22973:699cc139d2d2 22974:72778ec94dec
1717 0, /* tp_descr_set */ 1717 0, /* tp_descr_set */
1718 0, /* tp_dictoffset */ 1718 0, /* tp_dictoffset */
1719 0, /* tp_init */ 1719 0, /* tp_init */
1720 PyType_GenericAlloc, /* tp_alloc */ 1720 PyType_GenericAlloc, /* tp_alloc */
1721 array_new, /* tp_new */ 1721 array_new, /* tp_new */
1722 _PyObject_Del, /* tp_free */ 1722 PyObject_Del, /* tp_free */
1723 }; 1723 };
1724 1724
1725 /* No functions in array module. */ 1725 /* No functions in array module. */
1726 static PyMethodDef a_methods[] = { 1726 static PyMethodDef a_methods[] = {
1727 {NULL, NULL, 0, NULL} /* Sentinel */ 1727 {NULL, NULL, 0, NULL} /* Sentinel */