(self)
return hash(self.name) + hash(self.version) + hash(self.source_url)
Compute hash in a way which matches the equality test.
Compute hash in a way which matches the equality test.
Compute hash in a way which matches the equality test .
def __hash__(self):
        """
        Compute hash in a way which matches the equality test.
        """
        return hash(self.name) + hash(self.version) + hash(self.source_url)
def __hash__ ( self ) : return hash ( self . name ) + hash ( self . version ) + hash ( self . source_url )