diff options
| author | Guido van Rossum <guido@python.org> | 1996-07-22 16:16:25 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1996-07-22 16:16:25 +0000 |
| commit | 6c02a2fe250fcd165f6badc85f3a9997b831f6ad (patch) | |
| tree | 2d4e964fb38b99ccc975ae0eb6694f2c11537286 | |
| parent | d99d2833837fa2f6f593190db2d7a653101dea0b (diff) | |
| download | cpython-git-6c02a2fe250fcd165f6badc85f3a9997b831f6ad.tar.gz | |
Use NEWOBJ() macro instead of calling newobject() directly.
| -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 dcb7a19828..18fed0a31b 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; |
