From b1ece6c3321ed5df3c2a4535e8c340c86adcd60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 28 Jan 2019 04:15:46 +0100 Subject: [PATCH] Islice --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'},