summaryrefslogtreecommitdiff
path: root/test/python/input4.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/input4.py')
-rw-r--r--test/python/input4.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/python/input4.py b/test/python/input4.py
new file mode 100644
index 00000000..1a281c46
--- /dev/null
+++ b/test/python/input4.py
@@ -0,0 +1,10 @@
+
+# subscription
+a[1] = b[2];
+
+# simple slicing
+a[1:1] = b[2:2];
+
+# simple slicing
+a[1:1, 2:2] = b[3:3, 4:4];
+