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

fewer arguments.
This commit is contained in:
Guido van Rossum 2001-07-05 14:44:41 +00:00
parent 3f56166b1a
commit cfd829eefc
1 changed files with 1 additions and 1 deletions

View File

@ -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[] =