]> granicus.if.org Git - python/commitdiff
Fix description.
authorGeorg Brandl <georg@python.org>
Fri, 14 Nov 2014 10:20:07 +0000 (11:20 +0100)
committerGeorg Brandl <georg@python.org>
Fri, 14 Nov 2014 10:20:07 +0000 (11:20 +0100)
Doc/tutorial/datastructures.rst

index 8643d11070373098e2333c2447f75bf806ddbeb0..2d79a00398ae5a0e0326d17d2f6559fd44183e97 100644 (file)
@@ -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
    ...