Commit 81177050 authored by Guido van Rossum's avatar Guido van Rossum

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

parent 48b0ed77
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment