summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-09-28 23:52:46 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-09-28 23:52:46 (GMT)
commit169fa9345dc10ca631464e77352539397b095875 (patch)
tree2133d3fab5332f2dae1f30c7bae8ee44559bfbaa /Doc
parentfe150036803ce14efbf3a1e7bf923f47eded0179 (diff)
downloadcpython-169fa9345dc10ca631464e77352539397b095875.zip
cpython-169fa9345dc10ca631464e77352539397b095875.tar.gz
cpython-169fa9345dc10ca631464e77352539397b095875.tar.bz2
Doc fix. Mathematically correct sentence.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/datastructures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index 226eadd..97e0ee8 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -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
...