mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
tests: Add small testcase for 3-arg slices.
This commit is contained in:
@@ -2,3 +2,8 @@ x = list(range(10))
|
||||
print(x[::-1])
|
||||
print(x[::2])
|
||||
print(x[::-2])
|
||||
|
||||
x = list(range(9))
|
||||
print(x[::-1])
|
||||
print(x[::2])
|
||||
print(x[::-2])
|
||||
|
||||
Reference in New Issue
Block a user