def __delete__(self, obj):
        if self._getter(obj) not in self._allowed:
            raise WrongState(self, obj)
        try:
            del obj.__dict__[self]
        except __HOLE__:
            raise AttributeError()
dataset/ETHPy150Open ClusterHQ/machinist/machinist/_fsm.py/stateful.__delete__