def __str__(self):
        if self.comes_from:
            return '%s (from %s)' % (self.url, self.comes_from)
        else:
            return str(self.url)
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/index.py/Link.__str__/original