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 b63f56d..c8a8e83 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -892,7 +892,7 @@ builtin_xrange(self, v)
if (len < 0)
len = 0;
- return newrangeobject(start, len, step);
+ return newrangeobject(start, len, step, 1);
}
static object *