* rangeobject.[ch], bltinmodule.c: incorporate new version of range

object (unchanged from source except "range" -> "xrange").
This commit is contained in:
Guido van Rossum 1993-12-21 22:50:31 +00:00
parent c4f169cc5a
commit 7d6aa51b56
3 changed files with 129 additions and 25 deletions

View file

@ -892,7 +892,7 @@ builtin_xrange(self, v)
if (len < 0)
len = 0;
return newrangeobject(start, len, step);
return newrangeobject(start, len, step, 1);
}
static object *