Source code for humpack.hashing





[docs]class Hashable(object): '''Mixin to allow hashing'''
[docs] def __hash__(self): return id(self)
[docs] def __eq__(self, other): return id(self) == id(other)