Skip to content

Commit b1ece6c

Browse files
committed
Islice
1 parent 919fb63 commit b1ece6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,8 @@ from itertools import *
10271027
>>> compress('abc', [True, 0, 1])
10281028
['a', 'c']
10291029

1030-
>>> islice([1, 2, 3], 1, None) # islice(<seq>, from_inclusive, to_exclusive)
1030+
>>> # islice(<seq>, from_inclusive, to_exclusive)
1031+
>>> islice([1, 2, 3], 1, None)
10311032
[2, 3]
10321033

10331034
>>> people = [{'id': 1, 'name': 'Bob'},

0 commit comments

Comments
 (0)