diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 11d6f4c41cb..d23bbf3c67e 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[] =