summaryrefslogtreecommitdiffstats
path: root/Objects/rangeobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-22 16:16:25 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-22 16:16:25 (GMT)
commit6c02a2fe250fcd165f6badc85f3a9997b831f6ad (patch)
tree2d4e964fb38b99ccc975ae0eb6694f2c11537286 /Objects/rangeobject.c
parentd99d2833837fa2f6f593190db2d7a653101dea0b (diff)
downloadcpython-6c02a2fe250fcd165f6badc85f3a9997b831f6ad.zip
cpython-6c02a2fe250fcd165f6badc85f3a9997b831f6ad.tar.gz
cpython-6c02a2fe250fcd165f6badc85f3a9997b831f6ad.tar.bz2
Use NEWOBJ() macro instead of calling newobject() directly.
Diffstat (limited to 'Objects/rangeobject.c')
-rw-r--r--Objects/rangeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index dcb7a19..18fed0a 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -40,7 +40,7 @@ newrangeobject(start, len, step, reps)
long start, len, step;
int reps;
{
- rangeobject *obj = (rangeobject *) newobject(&Rangetype);
+ rangeobject *obj = NEWOBJ(rangeobject, &Rangetype);
obj->start = start;
obj->len = len;