summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-05 10:40:48 (GMT)
committerGeorg Brandl <georg@python.org>2009-02-05 10:40:48 (GMT)
commit2ae8ac2bfec3061b7b6ce2d6ebef1e5bdcbb0e3a (patch)
tree71a1d6386aa05bcfe2f23b9349103b809e773059 /Doc/glossary.rst
parent84753dee528cc2cb789c96adbd4364fe043acd03 (diff)
downloadcpython-2ae8ac2bfec3061b7b6ce2d6ebef1e5bdcbb0e3a.zip
cpython-2ae8ac2bfec3061b7b6ce2d6ebef1e5bdcbb0e3a.tar.gz
cpython-2ae8ac2bfec3061b7b6ce2d6ebef1e5bdcbb0e3a.tar.bz2
#5130: replace "unicode" by "bytes" in examples for sequence types.
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 34e4858..c9808fe 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -484,7 +484,7 @@ Glossary
indices via the :meth:`__getitem__` special method and defines a
:meth:`len` method that returns the length of the sequence.
Some built-in sequence types are :class:`list`, :class:`str`,
- :class:`tuple`, and :class:`unicode`. Note that :class:`dict` also
+ :class:`tuple`, and :class:`bytes`. Note that :class:`dict` also
supports :meth:`__getitem__` and :meth:`__len__`, but is considered a
mapping rather than a sequence because the lookups use arbitrary
:term:`immutable` keys rather than integers.