diff Doc/tutorial/datastructures.rst @ 65960:1ce69ee69e8e 2.7

Clarify.
author Georg Brandl <georg@python.org>
date Fri, 05 Nov 2010 07:38:48 +0000
parents 80fe066c135a
children b36cb4602e21
line wrap: on
line diff
--- a/Doc/tutorial/datastructures.rst	Fri Nov 05 07:37:51 2010 +0000
+++ b/Doc/tutorial/datastructures.rst	Fri Nov 05 07:38:48 2010 +0000
@@ -170,7 +170,8 @@
 ``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 some primes::
+otherwise, it is always a :class:`list`. For example, to compute primes up
+to 25::
 
    >>> def f(x): return x % 2 != 0 and x % 3 != 0
    ...