summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-14 19:32:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-14 19:32:41 (GMT)
commit251aede2f23f13b33dc4fc28bb18a5f416fad345 (patch)
treeeb1be0680d27e861aa915a84072bd45f83b4c16f /Doc/tutorial
parentdbbc07c2ec28bf877eba86ffa9f13c85dc2af33e (diff)
downloadcpython-251aede2f23f13b33dc4fc28bb18a5f416fad345.zip
cpython-251aede2f23f13b33dc4fc28bb18a5f416fad345.tar.gz
cpython-251aede2f23f13b33dc4fc28bb18a5f416fad345.tar.bz2
Fix minor docs markup errors.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/datastructures.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst
index 2d79a00..89589bc 100644
--- a/Doc/tutorial/datastructures.rst
+++ b/Doc/tutorial/datastructures.rst
@@ -179,9 +179,9 @@ There are three built-in functions that are very useful when used with lists:
``filter(function, sequence)`` returns a sequence consisting of those items from
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 3 or 5::
+:class:`str`, :class:`unicode` 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 3 or 5::
>>> def f(x): return x % 3 == 0 or x % 5 == 0
...