Commit cfd829ee authored by Guido van Rossum's avatar Guido van Rossum

Complete the xrange-simplification checkins: call PyRange_New() with

fewer arguments.
parent 3f56166b
...@@ -1763,7 +1763,7 @@ builtin_xrange(PyObject *self, PyObject *args) ...@@ -1763,7 +1763,7 @@ builtin_xrange(PyObject *self, PyObject *args)
"xrange() result has too many items"); "xrange() result has too many items");
return NULL; return NULL;
} }
return PyRange_New(ilow, n, istep, 1); return PyRange_New(ilow, n, istep);
} }
static char xrange_doc[] = static char xrange_doc[] =
......
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