[Python-checkins] cpython (2.7): Fix description.

georg.brandl python-checkins at python.org
Fri Nov 14 11:21:40 CET 2014


https://hg.python.org/cpython/rev/e106d9368bff
changeset:   93484:e106d9368bff
branch:      2.7
user:        Georg Brandl <georg at python.org>
date:        Fri Nov 14 11:20:07 2014 +0100
summary:
  Fix description.

files:
  Doc/tutorial/datastructures.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -181,7 +181,7 @@
 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
    ...

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list