def __hash__(self):
        """Return ``hash(self)``."""
        # TODO: Better hash for array?
        return hash((super(ArrayWeighting, self).__hash__(),
                     self.array.tobytes()))
def __hash__ ( self ) : return hash ( ( super ( ArrayWeighting , self ) . __hash__ ( ) , self . array . tobytes ( ) ) )
Return ``hash(self)``.