#5130: replace "unicode" by "bytes" in examples for sequence types.

This commit is contained in:
Georg Brandl 2009-02-05 10:40:48 +00:00
parent 84753dee52
commit 2ae8ac2bfe

View File

@ -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.