diff options
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 3297332..8a4215b 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -1282,7 +1282,7 @@ builtin_range(self, args) Py_DECREF(v); return NULL; } - PyList_SetItem(v, i, w); + PyList_GET_ITEM(v, i) = w; ilow += istep; } return v; |