gh-102105 Fix wording in filterfalse/quantify/filter (GH-102189)

This commit is contained in:
Stefan Pochmann 2023-02-24 17:13:05 +01:00 committed by GitHub
parent e5e1c1fabd
commit 81bf10e4f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -623,7 +623,7 @@ are always available. They are listed here in alphabetical order.
.. function:: filter(function, iterable)
Construct an iterator from those elements of *iterable* for which *function*
returns true. *iterable* may be either a sequence, a container which
is true. *iterable* may be either a sequence, a container which
supports iteration, or an iterator. If *function* is ``None``, the identity
function is assumed, that is, all elements of *iterable* that are false are
removed.
@ -634,7 +634,7 @@ are always available. They are listed here in alphabetical order.
``None``.
See :func:`itertools.filterfalse` for the complementary function that returns
elements of *iterable* for which *function* returns false.
elements of *iterable* for which *function* is false.
.. class:: float(x=0.0)