Use NEWOBJ() macro instead of calling newobject() directly.

This commit is contained in:
Guido van Rossum 1996-07-22 16:16:25 +00:00
parent d99d283383
commit 6c02a2fe25
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ newrangeobject(start, len, step, reps)
long start, len, step; long start, len, step;
int reps; int reps;
{ {
rangeobject *obj = (rangeobject *) newobject(&Rangetype); rangeobject *obj = NEWOBJ(rangeobject, &Rangetype);
obj->start = start; obj->start = start;
obj->len = len; obj->len = len;