From: Georg Brandl Date: Fri, 14 Nov 2014 10:20:07 +0000 (+0100) Subject: Fix description. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05e7c9ea6fe36ecb3a0c3d0083811ccfb461fdf1;p=python Fix description. --- 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 ...