From 7725f31e225f7bf4d76634d4416e4997d7dca0d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 23 Nov 2018 20:00:14 +0100 Subject: [PATCH] Itertools --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 15b08c9..2edead0 100644 --- a/README.md +++ b/README.md @@ -750,7 +750,7 @@ Itertools from itertools import * ``` -### Combinatoric Iterators +### Combinatoric iterators ```python >>> combinations('abc', 2) @@ -790,7 +790,7 @@ from itertools import * >>> compress('abc', [True, 0, 1]) ['a', 'c'] -islice([1, 2, 3], 1, None) # islice(, from_inclusive, to_exclusive) +>>> islice([1, 2, 3], 1, None) # islice(, from_inclusive, to_exclusive) [2, 3] >>> a = [{'id': 1, 'name': 'bob'},