diff options
author | Georg Brandl <georg@python.org> | 2014-11-14 11:20:07 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-14 11:20:07 +0100 |
commit | acd61ba408f7e55b46c933e0e2fc8ecb6106e185 (patch) | |
tree | 0732f720330528068ce4df5291a282fd76213b61 | |
parent | 1a8a2927b394f0593993364ef4e1d293d7b9376e (diff) | |
download | cpython-acd61ba408f7e55b46c933e0e2fc8ecb6106e185.tar.gz |
Fix description.
-rw-r--r-- | Doc/tutorial/datastructures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst index 8643d11070..2d79a00398 100644 --- a/Doc/tutorial/datastructures.rst +++ b/Doc/tutorial/datastructures.rst @@ -181,7 +181,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 divisible by 2 or 3:: +numbers divisible by 3 or 5:: >>> def f(x): return x % 3 == 0 or x % 5 == 0 ... |