(self, other)
| 37 | return hash(self.object_id()) |
| 38 | |
| 39 | def __eq__(self, other) -> bool: |
| 40 | if not isinstance(other, self.__class__): |
| 41 | return NotImplemented |
| 42 | if other.object_id() == self.object_id(): |
| 43 | return True |
| 44 | return False |
| 45 | |
| 46 | # This can be removed when python2 support is dropped. |
| 47 | def __ne__(self, other): |