summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-24 18:22:02 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-24 18:22:02 (GMT)
commita937d14898e8e396a1c9acc0fbd2db5209d1a6ce (patch)
tree797b23e8e3562d0c5a712b863678af4065645685 /Python/bltinmodule.c
parent7b7a2c2e110a2a9d5bb7c4f0c0dbda74e215059f (diff)
downloadcpython-a937d14898e8e396a1c9acc0fbd2db5209d1a6ce.zip
cpython-a937d14898e8e396a1c9acc0fbd2db5209d1a6ce.tar.gz
cpython-a937d14898e8e396a1c9acc0fbd2db5209d1a6ce.tar.bz2
Fred's right -- we need PyList_SET_ITEM().
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 8a4215b..fd31405 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1282,7 +1282,7 @@ builtin_range(self, args)
Py_DECREF(v);
return NULL;
}
- PyList_GET_ITEM(v, i) = w;
+ PyList_SET_ITEM(v, i, w);
ilow += istep;
}
return v;