summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authordecorator-factory <42166884+decorator-factory@users.noreply.github.com>2024-09-23 16:34:08 (GMT)
committerGitHub <noreply@github.com>2024-09-23 16:34:08 (GMT)
commit6203ef35dd4ee9dd59759ce83eace8eacac69685 (patch)
treebcdb3ebe4814e275e87a730952601e373a0a9378 /Doc/glossary.rst
parentdf7228ce140ecb005d44a0c171ba4d098b3fa67c (diff)
downloadcpython-6203ef35dd4ee9dd59759ce83eace8eacac69685.zip
cpython-6203ef35dd4ee9dd59759ce83eace8eacac69685.tar.gz
cpython-6203ef35dd4ee9dd59759ce83eace8eacac69685.tar.bz2
Replace the term `Immutable` with a `Hashable` in the `sequence` entry of the Glossary (#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.
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index ea2f4da..b3fd3c9 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -1131,7 +1131,7 @@ Glossary
:class:`tuple`, and :class:`bytes`. Note that :class:`dict` also
supports :meth:`~object.__getitem__` and :meth:`!__len__`, but is considered a
mapping rather than a sequence because the lookups use arbitrary
- :term:`immutable` keys rather than integers.
+ :term:`hashable` keys rather than integers.
The :class:`collections.abc.Sequence` abstract base class
defines a much richer interface that goes beyond just