def __repr__(self):
    r = '<{} {}: {}>'
    h = self.held_object
    return r.format(self.__class__.__name__, h.get_id(), h.command)
def __repr__(self):
    r = '<{} {}: {}>'
    h = self.held_object
    return r.format(self.__class__.__name__, h.get_id(), h.command)