def __hash__(self):
        return hash(self.name) + hash(self.version) + hash(self.source_url)
Compute hash in a way which matches the equality test.
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/distlib/database.py/Distribution.__hash__