]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#5130: replace "unicode" by "bytes" in examples for sequence types.
authorGeorg Brandl <georg@python.org>
Thu, 5 Feb 2009 10:40:48 +0000 (10:40 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 5 Feb 2009 10:40:48 +0000 (10:40 +0000)
Doc/glossary.rst

index 34e4858294986cb379e233abf0e8f8e1d927549b..c9808fed156c4c7539accb9357ee0b6b1020cd34 100644 (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.