Skip to content

Commit 12ae55e

Browse files
[3.13] Replace the term Immutable with a Hashable in the sequence entry of the Glossary (GH-124350) (#124352)
Replace the term `Immutable` with a `Hashable` in the `sequence` entry of the Glossary (GH-124350) The term `Immutable` in the `sequence` entry of the glossary is used incorrectly, in fact dicts accepts hashable keys, which is not the same as immutable. (cherry picked from commit 6203ef3) Co-authored-by: decorator-factory <[email protected]>
1 parent c0ce039 commit 12ae55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ Glossary
11211121
:class:`tuple`, and :class:`bytes`. Note that :class:`dict` also
11221122
supports :meth:`~object.__getitem__` and :meth:`!__len__`, but is considered a
11231123
mapping rather than a sequence because the lookups use arbitrary
1124-
:term:`immutable` keys rather than integers.
1124+
:term:`hashable` keys rather than integers.
11251125

11261126
The :class:`collections.abc.Sequence` abstract base class
11271127
defines a much richer interface that goes beyond just

0 commit comments

Comments
 (0)