From 62ba1d7f081417eb965ae230d1eaa0006a5f59d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Fri, 22 Sep 2023 14:39:39 +0200 Subject: [PATCH] Remove outdated docstring from the `quantify` itertools recipe --- Doc/library/itertools.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index bd347e6448f1a0..5846d784c88ccc 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -845,7 +845,6 @@ which incur interpreter overhead. def quantify(iterable, pred=bool): "Given a predicate that returns True or False, count the True results." - "Count how many times the predicate is True" return sum(map(pred, iterable)) def all_equal(iterable):