diff --git a/README.md b/README.md index 3a3ad44..1077554 100644 --- a/README.md +++ b/README.md @@ -1027,7 +1027,8 @@ from itertools import * >>> compress('abc', [True, 0, 1]) ['a', 'c'] ->>> islice([1, 2, 3], 1, None) # islice(, from_inclusive, to_exclusive) +>>> # islice(, from_inclusive, to_exclusive) +>>> islice([1, 2, 3], 1, None) [2, 3] >>> people = [{'id': 1, 'name': 'Bob'},