From 5ac9d8762803d4c9213dccbadd4530b04413531d Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 4 Jul 2010 17:28:33 +0000 Subject: [PATCH] #8472: fix misleading reference to ifilterfalse() in filter() docs. --- Doc/library/functions.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 1724abbbab..e54faaee41 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -402,8 +402,9 @@ available. They are listed here in alphabetical order. iterable if function(item)]`` if function is not ``None`` and ``[item for item in iterable if item]`` if function is ``None``. - See :func:`itertools.ifilterfalse` for the complementary function that returns - elements of *iterable* for which *function* returns false. + See :func:`itertools.ifilter` and :func:`itertools.ifilterfalse` for iterator + versions of this function, including a variation that filters for elements + where the *function* returns false. .. function:: float([x]) -- 2.40.0