Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.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 | 4f9d5ea4f37d |
| children | 6fa76b4e59fe |
line wrap: on
line diff
--- a/Modules/socketmodule.c Fri Apr 12 02:43:00 2002 +0000 +++ b/Modules/socketmodule.c Fri Apr 12 02:44:10 2002 +0000 @@ -2703,7 +2703,7 @@ 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);
