summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index d23bbf3..11d6f4c 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);
+ return PyRange_New(ilow, n, istep, 1);
}
static char xrange_doc[] =