Kaydet (Commit) 6c02a2fe authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst d99d2833
...@@ -40,7 +40,7 @@ newrangeobject(start, len, step, reps) ...@@ -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;
......
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