Show More
@@ -142,7 +142,7 b' class improvement(object):' | |||||
142 | return self.name == other.name |
|
142 | return self.name == other.name | |
143 |
|
143 | |||
144 | def __ne__(self, other): |
|
144 | def __ne__(self, other): | |
145 | return not self == other |
|
145 | return not (self == other) | |
146 |
|
146 | |||
147 | def __hash__(self): |
|
147 | def __hash__(self): | |
148 | return hash(self.name) |
|
148 | return hash(self.name) |
General Comments 0
You need to be logged in to leave comments.
Login now