diff options
author | csabella <chekat2@gmail.com> | 2017-04-01 22:50:47 -0400 |
---|---|---|
committer | Senthil Kumaran <skumaran@gatech.edu> | 2017-04-01 19:50:47 -0700 |
commit | 64c887ab3a400cf91bde4f0c5ef69eacc88bc5e1 (patch) | |
tree | f28617fcd7e010d618c63878b37ac4af87470915 /Doc/glossary.rst | |
parent | e82cf8675bacd7a03de508ed11865fc2701dcef5 (diff) | |
download | cpython-git-64c887ab3a400cf91bde4f0c5ef69eacc88bc5e1.tar.gz |
bpo-26947: DOC: clarify wording on hashable in glossary (#948)
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r-- | Doc/glossary.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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`. |