summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-12 02:44:10 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-12 02:44:10 (GMT)
commitaa769ae468c7b857226ebe5b073b4c787a60445a (patch)
treefa99e9418239aa8bcb28225036ddce4e9ed4c21c /Modules
parent6189b89cc55969c4252a5233ecd8e815baf8d421 (diff)
downloadcpython-aa769ae468c7b857226ebe5b073b4c787a60445a.zip
cpython-aa769ae468c7b857226ebe5b073b4c787a60445a.tar.gz
cpython-aa769ae468c7b857226ebe5b073b4c787a60445a.tar.bz2
PyObject_Del can now be used as a function designator.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/arraymodule.c2
-rw-r--r--Modules/socketmodule.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 46de178..1aa76dc 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -1719,7 +1719,7 @@ statichere PyTypeObject Arraytype = {
0, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */
array_new, /* tp_new */
- _PyObject_Del, /* tp_free */
+ PyObject_Del, /* tp_free */
};
/* No functions in array module. */
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);