Skip to content

Commit 3ccc4f4

Browse files
committed
-
1 parent 492b467 commit 3ccc4f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source_py3/python_toolbox/reasoned_bool.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ def __repr__(self):
3838

3939
def __eq__(self, other):
4040
return bool(self) == other
41+
42+
43+
def __hash__(self):
44+
return hash(bool(self))
4145

4246

4347
def __neq__(self, other):

0 commit comments

Comments
 (0)