diff options
author | Georg Brandl <georg@python.org> | 2014-11-14 10:20:07 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-14 10:20:07 (GMT) |
commit | 05e7c9ea6fe36ecb3a0c3d0083811ccfb461fdf1 (patch) | |
tree | 7aee8a27b606302f527e29701ead4bf8ea466f05 /Doc/tutorial | |
parent | 96c4de960cfb1e3cea646a09d86dea5e36c6b471 (diff) | |
download | cpython-05e7c9ea6fe36ecb3a0c3d0083811ccfb461fdf1.zip cpython-05e7c9ea6fe36ecb3a0c3d0083811ccfb461fdf1.tar.gz cpython-05e7c9ea6fe36ecb3a0c3d0083811ccfb461fdf1.tar.bz2 |
Fix description.
Diffstat (limited to 'Doc/tutorial')
-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 8643d11..2d79a00 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 ... |