def __repr__(self):
        if self.name is None:
            name = self.name
        else:
            name = u'%s@%s' % (self.name, self.version)
        return '<%s %r>' % (self.__class__.__name__, name)
dataset/ETHPy150Open edgewall/trac/trac/wiki/model.py/WikiPage.__repr__/original