From: Senthil Kumaran Date: Sun, 2 Apr 2017 03:00:36 +0000 (-0700) Subject: bpo-26947: DOC: clarify wording on hashable in glossary (#948) (#957) X-Git-Tag: v3.6.2rc1~260 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a71a3ad54d14483cfaebd8e0fb96c97c798d9e32;p=python bpo-26947: DOC: clarify wording on hashable in glossary (#948) (#957) (cherry picked from commit 64c887ab3a400cf91bde4f0c5ef69eacc88bc5e1) --- diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 81238414ef..dba9186d93 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -467,9 +467,9 @@ Glossary Hashability makes an object usable as a dictionary key and a set member, because these data structures use the hash value internally. - All of Python's immutable built-in objects are hashable, while no mutable - containers (such as lists or dictionaries) are. Objects which are - instances of user-defined classes are hashable by default; they all + All of Python's immutable built-in objects are hashable; mutable + containers (such as lists or dictionaries) are not. Objects which are + instances of user-defined classes are hashable by default. They all compare unequal (except with themselves), and their hash value is derived from their :func:`id`.