From: Guido van Rossum Date: Thu, 5 Jul 2001 14:44:41 +0000 (+0000) Subject: Complete the xrange-simplification checkins: call PyRange_New() with X-Git-Tag: v2.2a3~1340 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfd829eefca1c5b971a27306a09dbb6704d96e8d;p=python Complete the xrange-simplification checkins: call PyRange_New() with fewer arguments. --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 11d6f4c41c..d23bbf3c67 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[] =