From 7b02b5bbf6efcc2f681b1a3669748abab95ee17e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 28 Jan 2019 12:03:34 +0100 Subject: [PATCH] Hashable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5eede28..54eaa01 100644 --- a/README.md +++ b/README.md @@ -649,7 +649,7 @@ class MyComparable: ``` ### Hashable -**Hashable object needs both hash() and eq() methods and it's hash value should not change. Objects that compare equal must have the same hash value, meaning default hash() that returns `id(self)` will not do. That is why Python automatically makes classes unhashable if you only implement eq().** +**Hashable object needs both hash() and eq() methods and it's hash value should never change. Objects that compare equal must have the same hash value, meaning default hash() that returns `id(self)` will not do. That is why Python automatically makes classes unhashable if you only implement eq().** ```python class MyHashable: