summaryrefslogtreecommitdiff
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 c36a38e211..deba99ed7a 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4436,7 +4436,7 @@ unpack_iterable(PyThreadState *tstate, PyObject *v,
*--sp = PyList_GET_ITEM(l, ll - j);
}
/* Resize the list. */
- Py_SIZE(l) = ll - argcntafter;
+ Py_SET_SIZE(l, ll - argcntafter);
Py_DECREF(it);
return 1;