From 46b63ced2564ad6c3d7b65e0ea1f04fd5c7d2959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Fri, 22 Sep 2023 15:09:32 +0200 Subject: Remove outdated docstring from the `quantify` itertools recipe (#109726) --- Doc/library/itertools.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index bd347e6..5846d78 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): -- cgit v0.12