

def __repr__(self):
    ' Return a string representation of the object. '
    template = "<AdaptationOffer: '{from_}' -> '{to}'>"
    from_ = self.from_protocol_name
    to = from_.to_protocol_name
    return template.format(from_=from_, to=to)

dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_offer.py AdaptationOffer.__repr__/VarMisuse@24/61 `self`->`from_`