summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/listobject.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index e496fcb..ce27834 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -344,6 +344,9 @@ list_repeat(a, n)
return (object *) np;
}
+/* XXX The following function has a bug: don't try assigning a
+ XXX list object to a slice of itself (e.g., a[:1] = a). */
+
static int
list_ass_slice(a, ilow, ihigh, v)
listobject *a;