summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index ec24110..1d0cdb4 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1592,7 +1592,7 @@ assign_subscript(w, key, v) /* w[key] = v */
else {
int i = getintvalue(key);
if (i < 0)
- i += (*sq->sq_length)(v);
+ i += (*sq->sq_length)(w);
return (*func)(w, i, v);
}
}