]> granicus.if.org Git - python/commitdiff
Doc fix. Mathematically correct sentence.
authorSenthil Kumaran <senthil@uthcode.com>
Wed, 28 Sep 2011 23:52:46 +0000 (07:52 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Wed, 28 Sep 2011 23:52:46 +0000 (07:52 +0800)
Doc/tutorial/datastructures.rst

index 226eadd61270a000b5b032309e5c4bd48a2d44d5..97e0ee84e936249ef10d0424b9543cdfd66d7f44 100644 (file)
@@ -170,8 +170,8 @@ There are three built-in functions that are very useful when used with lists:
 ``filter(function, sequence)`` returns a sequence consisting of those items from
 the sequence for which ``function(item)`` is true. If *sequence* is a
 :class:`string` or :class:`tuple`, the result will be of the same type;
-otherwise, it is always a :class:`list`. For example, to compute primes up
-to 25::
+otherwise, it is always a :class:`list`. For example, to compute a sequence of
+numbers not divisible by 2 and 3::
 
    >>> def f(x): return x % 2 != 0 and x % 3 != 0
    ...