diff options
author | Guido van Rossum <guido@python.org> | 1993-12-21 22:50:31 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-12-21 22:50:31 (GMT) |
commit | 7d6aa51b56c6337ad5b1cb880f7c075290777f51 (patch) | |
tree | f178129af702b8adcb635ceac5ab9779925a7b64 /Python/bltinmodule.c | |
parent | c4f169cc5a990c9015782733b26bca4b2616ac24 (diff) | |
download | cpython-7d6aa51b56c6337ad5b1cb880f7c075290777f51.zip cpython-7d6aa51b56c6337ad5b1cb880f7c075290777f51.tar.gz cpython-7d6aa51b56c6337ad5b1cb880f7c075290777f51.tar.bz2 |
* rangeobject.[ch], bltinmodule.c: incorporate new version of range
object (unchanged from source except "range" -> "xrange").
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index b63f56d..c8a8e83 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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 * |