summaryrefslogtreecommitdiffstats
path: root/Objects
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 /Objects
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 'Objects')
-rw-r--r--Objects/complexobject.c2
-rw-r--r--Objects/fileobject.c2
-rw-r--r--Objects/funcobject.c4
-rw-r--r--Objects/longobject.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index 48a9afa..3dbaea3 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -992,7 +992,7 @@ PyTypeObject PyComplex_Type = {
0, /* tp_init */
0, /* tp_alloc */
complex_new, /* tp_new */
- _PyObject_Del, /* tp_free */
+ PyObject_Del, /* tp_free */
};
#endif
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index a03796b..54d040d 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -1631,7 +1631,7 @@ PyTypeObject PyFile_Type = {
(initproc)file_init, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */
file_new, /* tp_new */
- _PyObject_Del, /* tp_free */
+ PyObject_Del, /* tp_free */
};
/* Interface for the 'soft space' between print items. */
diff --git a/Objects/funcobject.c b/Objects/funcobject.c
index 178bd77..a3541e4 100644
--- a/Objects/funcobject.c
+++ b/Objects/funcobject.c
@@ -554,7 +554,7 @@ PyTypeObject PyClassMethod_Type = {
cm_init, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */
PyType_GenericNew, /* tp_new */
- _PyObject_Del, /* tp_free */
+ PyObject_Del, /* tp_free */
};
PyObject *
@@ -683,7 +683,7 @@ PyTypeObject PyStaticMethod_Type = {
sm_init, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */
PyType_GenericNew, /* tp_new */
- _PyObject_Del, /* tp_free */
+ PyObject_Del, /* tp_free */
};
PyObject *
diff --git a/Objects/longobject.c b/Objects/longobject.c
index c17d56f..f11c016 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -2352,5 +2352,5 @@ PyTypeObject PyLong_Type = {
0, /* tp_init */
0, /* tp_alloc */
long_new, /* tp_new */
- _PyObject_Del, /* tp_free */
+ PyObject_Del, /* tp_free */
};