Skip to content

Commit 49292e5

Browse files
author
czheo
committed
fix README
1 parent 05ca640 commit 49292e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ list(1 /to/ INF /take/ 5)
160160
# there is a `take` functon which is similar to itertools.islice
161161
# return [1, 2, 3, 4, 5]
162162

163-
list(0 /to/ -INF /by/ 2 /take/ 5)
163+
list(0 /to/ -INF /step/ 2 /take/ 5)
164164
# also works with negative infinity.
165165
# return [0, -2, -4, -6, -8]
166166

0 commit comments

Comments
 (0)