Skip to content

Commit 4dafb0d

Browse files
committed
Itertools
1 parent 63c547a commit 4dafb0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,12 +1390,12 @@ from itertools import *
13901390
>>> chain([1, 2], [3, 4])
13911391
[1, 2, 3, 4]
13921392

1393-
>>> compress([1, 2, 3, 4], [True, False, 1, 0])
1394-
[1, 3]
1395-
13961393
>>> # islice(<collection>, from_inclusive, to_exclusive)
13971394
>>> islice([1, 2, 3, 4], 2, None)
13981395
[3, 4]
1396+
1397+
>>> compress([1, 2, 3, 4], [True, False, 1, 0])
1398+
[1, 3]
13991399
```
14001400

14011401
### Group by

0 commit comments

Comments
 (0)