summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 1adf779..c789ae5 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -246,8 +246,8 @@ Glossary
hashable
An object is *hashable* if it has a hash value which never changes during
its lifetime (it needs a :meth:`__hash__` method), and can be compared to
- other objects (it needs an :meth:`__eq__` or :meth:`__cmp__` method).
- Hashable objects which compare equal must have the same hash value.
+ other objects (it needs an :meth:`__eq__` method). Hashable objects which
+ compare equal must have the same hash value.
Hashability makes an object usable as a dictionary key and a set member,
because these data structures use the hash value internally.