https://github.com/python/cpython/commit/dd2066f27410f593b064636f017b152712847ee6
commit: dd2066f27410f593b064636f017b152712847ee6
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: Eclips4 <[email protected]>
date: 2024-09-23T16:41:01Z
summary:

[3.12] Replace the term `Immutable` with a `Hashable` in the `sequence` entry 
of the Glossary (GH-124350) (#124353)

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 6203ef35dd4ee9dd59759ce83eace8eacac69685)

Co-authored-by: decorator-factory 
<[email protected]>

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index c85370fec84aea..01d126830b7085 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -1106,7 +1106,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]

Reply via email to