summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-12 02:44:55 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-04-12 02:44:55 (GMT)
commit9acae5a0a6f9fd15dbe7d8da8c5604a161b0d7a6 (patch)
tree9c823f6ab7fb90998d71be25d8cdac59b157e40e /Objects
parent99b5d28467f87b3e5b28f35794a7111218e642f8 (diff)
downloadcpython-9acae5a0a6f9fd15dbe7d8da8c5604a161b0d7a6.zip
cpython-9acae5a0a6f9fd15dbe7d8da8c5604a161b0d7a6.tar.gz
cpython-9acae5a0a6f9fd15dbe7d8da8c5604a161b0d7a6.tar.bz2
Remove PyMalloc_New and PyMalloc_Del.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/rangeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index fa7e660..fd02d09 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -60,7 +60,7 @@ PyObject *
PyRange_New(long start, long len, long step, int reps)
{
long totlen = -1;
- rangeobject *obj = PyMalloc_New(rangeobject, &PyRange_Type);
+ rangeobject *obj = PyObject_New(rangeobject, &PyRange_Type);
if (obj == NULL)
return NULL;
@@ -104,7 +104,7 @@ PyRange_New(long start, long len, long step, int reps)
static void
range_dealloc(rangeobject *r)
{
- PyMalloc_Del(r);
+ PyObject_Del(r);
}
static PyObject *