summaryrefslogtreecommitdiffstats
path: root/Objects/structseq.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-12 03:05:37 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-12 03:05:37 (GMT)
commit7465ad2fc982ca15b7f1c568fb6044d2beac46e0 (patch)
tree40eba19737b3f88e1c456f70c2db95fb8d9dcd1d /Objects/structseq.c
parent510492e98552131b1326bb5caa4e347fc15389f8 (diff)
downloadcpython-7465ad2fc982ca15b7f1c568fb6044d2beac46e0.zip
cpython-7465ad2fc982ca15b7f1c568fb6044d2beac46e0.tar.gz
cpython-7465ad2fc982ca15b7f1c568fb6044d2beac46e0.tar.bz2
Remove PyMalloc_New and PyMalloc_Del.
Diffstat (limited to 'Objects/structseq.c')
-rw-r--r--Objects/structseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c
index 7231ce1..fdc56cb 100644
--- a/Objects/structseq.c
+++ b/Objects/structseq.c
@@ -22,7 +22,7 @@ PyStructSequence_New(PyTypeObject *type)
{
PyStructSequence *obj;
- obj = PyMalloc_New(PyStructSequence, type);
+ obj = PyObject_New(PyStructSequence, type);
obj->ob_size = VISIBLE_SIZE_TP(type);
return (PyObject*) obj;
@@ -37,7 +37,7 @@ structseq_dealloc(PyStructSequence *obj)
for (i = 0; i < size; ++i) {
Py_XDECREF(obj->ob_item[i]);
}
- PyMalloc_Del(obj);
+ PyObject_Del(obj);
}
static int