

def __repr__(self):
    parts = ['Topic(', repr(self._name)]
    if (self._parent != RootTopic):
        parts += [', parent=', repr(self._parent)]
    parts.append(')')
    return ''.join(parts)

dataset/ETHPy150Open foxdog-studios/pyddp/ddp/pubsub/topic.py Topic.__repr__/original