Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ae8ac2

Browse files
committed
#5130: replace "unicode" by "bytes" in examples for sequence types.
1 parent 84753de commit 2ae8ac2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ Glossary
484484
indices via the :meth:`__getitem__` special method and defines a
485485
:meth:`len` method that returns the length of the sequence.
486486
Some built-in sequence types are :class:`list`, :class:`str`,
487-
:class:`tuple`, and :class:`unicode`. Note that :class:`dict` also
487+
:class:`tuple`, and :class:`bytes`. Note that :class:`dict` also
488488
supports :meth:`__getitem__` and :meth:`__len__`, but is considered a
489489
mapping rather than a sequence because the lookups use arbitrary
490490
:term:`immutable` keys rather than integers.

0 commit comments

Comments
 (0)