diff options
author | Senthil Kumaran <skumaran@gatech.edu> | 2017-04-02 03:00:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-02 03:00:36 (GMT) |
commit | a71a3ad54d14483cfaebd8e0fb96c97c798d9e32 (patch) | |
tree | eab82e0f19dc860fec5f7bbd298d2f48272dcf2b /Doc | |
parent | 4415b823a08163a8728d13ff06565efb12353fc0 (diff) | |
download | cpython-a71a3ad54d14483cfaebd8e0fb96c97c798d9e32.zip cpython-a71a3ad54d14483cfaebd8e0fb96c97c798d9e32.tar.gz cpython-a71a3ad54d14483cfaebd8e0fb96c97c798d9e32.tar.bz2 |
bpo-26947: DOC: clarify wording on hashable in glossary (#948) (#957)
(cherry picked from commit 64c887ab3a400cf91bde4f0c5ef69eacc88bc5e1)
Diffstat (limited to 'Doc')
-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 8123841..dba9186 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`. |