From: Georg Brandl Date: Sun, 4 Jul 2010 17:28:33 +0000 (+0000) Subject: #8472: fix misleading reference to ifilterfalse() in filter() docs. X-Git-Tag: v2.7.1rc1~651 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ac9d8762803d4c9213dccbadd4530b04413531d;p=python #8472: fix misleading reference to ifilterfalse() in filter() docs. --- 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])