summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 09:41:36 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 09:41:36 (GMT)
commitb3d6fe336d7901d7489961ccbb33156ef47f241c (patch)
tree7fe25c47f81374232fb588237d461edbfda3d2e1 /Doc/tutorial
parent96426886ec5905e2f89bb3cfa0cd388f03261912 (diff)
downloadcpython-b3d6fe336d7901d7489961ccbb33156ef47f241c.zip
cpython-b3d6fe336d7901d7489961ccbb33156ef47f241c.tar.gz
cpython-b3d6fe336d7901d7489961ccbb33156ef47f241c.tar.bz2
Small logical fix in filter() example description.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/datastructures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index e6786cc..28e6ad7 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -171,7 +171,7 @@ There are three built-in functions that are very useful when used with lists:
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 a sequence of
-numbers not divisible by 2 and 3::
+numbers not divisible by 2 or 3::
>>> def f(x): return x % 2 != 0 and x % 3 != 0
...