From cfd829eefca1c5b971a27306a09dbb6704d96e8d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 5 Jul 2001 14:44:41 +0000 Subject: [PATCH] Complete the xrange-simplification checkins: call PyRange_New() with fewer arguments. --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = -- 2.49.0