We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 505671b commit c7a0e14Copy full SHA for c7a0e14
1 file changed
tests/basics/builtin_range.py
@@ -38,6 +38,9 @@
38
print(range(100, 1, -5)[5:15:3])
39
print(range(100, 1, -5)[15:5:-3])
40
41
+# for this case uPy gives a different stop value but the listed elements are still correct
42
+print(list(range(7, -2, -4)[2:-2:]))
43
+
44
# zero step
45
try:
46
range(1, 2, 0)
0 commit comments