summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basics/list_slice_3arg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/list_slice_3arg.py b/tests/basics/list_slice_3arg.py
new file mode 100644
index 0000000000..1320e79236
--- /dev/null
+++ b/tests/basics/list_slice_3arg.py
@@ -0,0 +1,4 @@
+x = list(range(10))
+print(x[::-1])
+print(x[::2])
+print(x[::-2])