summaryrefslogtreecommitdiffstats
path: root/Lib/numbers.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/numbers.py')
-rw-r--r--Lib/numbers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/numbers.py b/Lib/numbers.py
index 38240d6..fa59fd8 100644
--- a/Lib/numbers.py
+++ b/Lib/numbers.py
@@ -18,6 +18,9 @@ class Number(object):
"""
__metaclass__ = ABCMeta
+ # Concrete numeric types must provide their own hash implementation
+ __hash__ = None
+
## Notes on Decimal
## ----------------