diff options
author | Guido van Rossum <guido@python.org> | 1996-07-22 16:16:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-07-22 16:16:25 (GMT) |
commit | 6c02a2fe250fcd165f6badc85f3a9997b831f6ad (patch) | |
tree | 2d4e964fb38b99ccc975ae0eb6694f2c11537286 /Objects/rangeobject.c | |
parent | d99d2833837fa2f6f593190db2d7a653101dea0b (diff) | |
download | cpython-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.c | 2 |
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; |