From: Ɓukasz Langa Date: Fri, 22 Sep 2023 13:09:32 +0000 (+0200) Subject: Remove outdated docstring from the `quantify` itertools recipe (#109726) X-Git-Tag: v3.13.0a1~347 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46b63ced2564ad6c3d7b65e0ea1f04fd5c7d2959;p=thirdparty%2FPython%2Fcpython.git Remove outdated docstring from the `quantify` itertools recipe (#109726) --- diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index bd347e6448f1..5846d784c88c 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):