commit | 6c02a2fe250fcd165f6badc85f3a9997b831f6ad | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Jul 22 16:16:25 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Jul 22 16:16:25 1996 +0000 |
tree | 2d4e964fb38b99ccc975ae0eb6694f2c11537286 | |
parent | d99d2833837fa2f6f593190db2d7a653101dea0b [diff] [blame] |
Use NEWOBJ() macro instead of calling newobject() directly.
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 @@ long start, len, step; int reps; { - rangeobject *obj = (rangeobject *) newobject(&Rangetype); + rangeobject *obj = NEWOBJ(rangeobject, &Rangetype); obj->start = start; obj->len = len;