From 2fd0723dc00c798f81b4dfb3fc1c729209db6664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= <sornjure@gmail.com> Date: Wed, 30 Jan 2019 07:54:38 +0100 Subject: [PATCH] Hashable --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bf5fc1..ee456de 100644 --- a/README.md +++ b/README.md @@ -718,7 +718,7 @@ class MyComparable: ### Hashable * **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.** +* **Hashable 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