diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-04-12 02:44:10 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-04-12 02:44:10 (GMT) |
commit | aa769ae468c7b857226ebe5b073b4c787a60445a (patch) | |
tree | fa99e9418239aa8bcb28225036ddce4e9ed4c21c /Modules/socketmodule.c | |
parent | 6189b89cc55969c4252a5233ecd8e815baf8d421 (diff) | |
download | cpython-aa769ae468c7b857226ebe5b073b4c787a60445a.zip cpython-aa769ae468c7b857226ebe5b073b4c787a60445a.tar.gz cpython-aa769ae468c7b857226ebe5b073b4c787a60445a.tar.bz2 |
PyObject_Del can now be used as a function designator.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 4366b17..53952fc 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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); |