Complete the xrange-simplification checkins: call PyRange_New() with
fewer arguments.
This commit is contained in:
parent
3f56166b1a
commit
cfd829eefc
|
@ -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[] =
|
||||
|
|
Loading…
Reference in New Issue