Browse Source

Islice

pull/10/head
Jure Šorn 6 years ago
parent
commit
f9b1d3a5c7
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1027,7 +1027,7 @@ from itertools import *
>>> compress('abc', [True, 0, 1])
['a', 'c']
>>> # islice(<seq>, from_inclusive, to_exclusive)
>>> # islice(<collection>, from_inclusive, to_exclusive)
>>> islice([1, 2, 3], 1, None)
[2, 3]

Loading…
Cancel
Save