https://github.com/python/cpython/commit/6203ef35dd4ee9dd59759ce83eace8eacac69685
commit: 6203ef35dd4ee9dd59759ce83eace8eacac69685
branch: main
author: decorator-factory <[email protected]>
committer: Eclips4 <[email protected]>
date: 2024-09-23T16:34:08Z
summary:
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.
files:
M Doc/glossary.rst
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index ea2f4da093caa0..b3fd3c96b5c217 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]