summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-19 22:48:23 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-19 22:48:23 (GMT)
commit30d1c51ac97a93f68015a0c646bd130140b69a98 (patch)
tree9e47d4b382382a75c74ea85c1e1325216678a7c0 /Modules
parent666bb419cb28b799794350abdc9d5a15e1dfc5dc (diff)
downloadcpython-30d1c51ac97a93f68015a0c646bd130140b69a98.zip
cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.gz
cpython-30d1c51ac97a93f68015a0c646bd130140b69a98.tar.bz2
Remove _PyObject_Del
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_randommodule.c2
-rw-r--r--Modules/bz2module.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c
index 25adc2e..95b7ade 100644
--- a/Modules/_randommodule.c
+++ b/Modules/_randommodule.c
@@ -557,7 +557,7 @@ static PyTypeObject Random_Type = {
0, /*tp_init*/
0, /*tp_alloc*/
random_new, /*tp_new*/
- _PyObject_Del, /*tp_free*/
+ PyObject_Free, /*tp_free*/
0, /*tp_is_gc*/
};
diff --git a/Modules/bz2module.c b/Modules/bz2module.c
index 954c914..c913c3f 100644
--- a/Modules/bz2module.c
+++ b/Modules/bz2module.c
@@ -1336,7 +1336,7 @@ static PyTypeObject BZ2File_Type = {
(initproc)BZ2File_init, /*tp_init*/
PyType_GenericAlloc, /*tp_alloc*/
PyType_GenericNew, /*tp_new*/
- _PyObject_Del, /*tp_free*/
+ PyObject_Free, /*tp_free*/
0, /*tp_is_gc*/
};
@@ -1612,7 +1612,7 @@ static PyTypeObject BZ2Comp_Type = {
(initproc)BZ2Comp_init, /*tp_init*/
PyType_GenericAlloc, /*tp_alloc*/
PyType_GenericNew, /*tp_new*/
- _PyObject_Del, /*tp_free*/
+ PyObject_Free, /*tp_free*/
0, /*tp_is_gc*/
};
@@ -1836,7 +1836,7 @@ static PyTypeObject BZ2Decomp_Type = {
(initproc)BZ2Decomp_init, /*tp_init*/
PyType_GenericAlloc, /*tp_alloc*/
PyType_GenericNew, /*tp_new*/
- _PyObject_Del, /*tp_free*/
+ PyObject_Free, /*tp_free*/
0, /*tp_is_gc*/
};