PyObject_Del can now be used as a function designator.

This commit is contained in:
Neil Schemenauer 2002-04-12 02:44:10 +00:00
parent 6189b89cc5
commit aa769ae468
6 changed files with 7 additions and 7 deletions

View file

@ -2703,7 +2703,7 @@ init_socket(void)
PySocketSock_Type.ob_type = &PyType_Type;
PySocketSock_Type.tp_getattro = PyObject_GenericGetAttr;
PySocketSock_Type.tp_alloc = PyType_GenericAlloc;
PySocketSock_Type.tp_free = _PyObject_Del;
PySocketSock_Type.tp_free = PyObject_Del;
m = Py_InitModule3(PySocket_MODULE_NAME,
PySocket_methods,
module_doc);