Skip to content

Commit 46b63ce

Browse files
authored
Remove outdated docstring from the quantify itertools recipe (#109726)
1 parent cade596 commit 46b63ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Doc/library/itertools.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,6 @@ which incur interpreter overhead.
845845

846846
def quantify(iterable, pred=bool):
847847
"Given a predicate that returns True or False, count the True results."
848-
"Count how many times the predicate is True"
849848
return sum(map(pred, iterable))
850849

851850
def all_equal(iterable):

0 commit comments

Comments
 (0)