Skip to content

Commit 988c3c2

Browse files
author
Tercio de Melo
committed
Replaces not recommended usage of /by/ syntax in README
1 parent 17e8f48 commit 988c3c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pipe(['google', 'twitter', 'yahoo', 'facebook', 'github'])
8585
10 /to/ 1
8686
# similar to `range(10, 0, -1)`, you can also use decreasing ranges
8787

88-
10 /to/ 1 /by/ -2
88+
10 /to/ 1 /by/ 2
8989
# similar to `range(10, 0, -2)`, you can also specify negative step size
9090

9191
'0' /to/ '9'
@@ -99,7 +99,7 @@ pipe(['google', 'twitter', 'yahoo', 'facebook', 'github'])
9999
# similar to 'vutsrqponmlkjihgfed', but this is an iterator
100100
# e can also have *decreasing* range of characters :)
101101

102-
'v' /to/ 'd' /by/ -3
102+
'v' /to/ 'd' /by/ 3
103103
# similar to 'vspmjgd', but this is an iterator
104104
# e can also have *decreasing* range of characters with negative steps
105105
```

0 commit comments

Comments
 (0)