From 4dafb0d70e9b40c0197d27d77f4c0661511361b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 26 Feb 2019 12:20:12 +0100 Subject: [PATCH] Itertools --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index be84d18..3421d12 100644 --- a/README.md +++ b/README.md @@ -1390,12 +1390,12 @@ from itertools import * >>> chain([1, 2], [3, 4]) [1, 2, 3, 4] ->>> compress([1, 2, 3, 4], [True, False, 1, 0]) -[1, 3] - >>> # islice(, from_inclusive, to_exclusive) >>> islice([1, 2, 3, 4], 2, None) [3, 4] + +>>> compress([1, 2, 3, 4], [True, False, 1, 0]) +[1, 3] ``` ### Group by