(self)
return '<Distribution %s (%s)%s>' % (self.name, self.version, suffix)
Return a textual representation of this instance,
Return a textual representation of this instance,
Return a textual representation of this instance
def __repr__(self):
        """
        Return a textual representation of this instance,
        """
        if self.source_url:
            suffix = ' [%s]' % self.source_url
        else:
            suffix = ''
        return '<Distribution %s (%s)%s>' % (self.name, self.version, suffix)
def __repr__ ( self ) : if self . source_url : suffix = ' [%s]' % self . source_url else : suffix = '' return '<Distribution %s (%s)%s>' % ( self . name , self . version , suffix )