summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-07-05 14:44:41 (GMT)
committerGuido van Rossum <guido@python.org>2001-07-05 14:44:41 (GMT)
commitcfd829eefca1c5b971a27306a09dbb6704d96e8d (patch)
tree5b6a666de56c40f1710f223c2d06062e69040063 /Python
parent3f56166b1aff15136960dfc8ad90f571e14be01a (diff)
downloadcpython-cfd829eefca1c5b971a27306a09dbb6704d96e8d.zip
cpython-cfd829eefca1c5b971a27306a09dbb6704d96e8d.tar.gz
cpython-cfd829eefca1c5b971a27306a09dbb6704d96e8d.tar.bz2
Complete the xrange-simplification checkins: call PyRange_New() with
fewer arguments.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 11d6f4c..d23bbf3 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1763,7 +1763,7 @@ builtin_xrange(PyObject *self, PyObject *args)
"xrange() result has too many items");
return NULL;
}
- return PyRange_New(ilow, n, istep, 1);
+ return PyRange_New(ilow, n, istep);
}
static char xrange_doc[] =