From: Georg Brandl Date: Thu, 5 Feb 2009 10:40:48 +0000 (+0000) Subject: #5130: replace "unicode" by "bytes" in examples for sequence types. X-Git-Tag: v3.1a1~284 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ae8ac2bfec3061b7b6ce2d6ebef1e5bdcbb0e3a;p=thirdparty%2FPython%2Fcpython.git #5130: replace "unicode" by "bytes" in examples for sequence types. --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 34e485829498..c9808fed156c 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.