1 parent 3218ccd commit 465a604Copy full SHA for 465a604
1 file changed
tests/cpydiff/types_list_store_noniter.py
@@ -0,0 +1,9 @@
1
+"""
2
+categories: Types,list
3
+description: List slice-store with non-iterable on RHS is not implemented
4
+cause: RHS is restricted to be a tuple or list
5
+workaround: Use ``list(<iter>)`` on RHS to convert the iterable to a list
6
7
+l = [10, 20]
8
+l[0:1] = range(4)
9
+print(l)
0 commit comments