- if isinstance(action, (parser.ActionDef, parser.ActionRef)):
- actions, params = action(s_params, rank)
- child = self.__class__(self, actions, params, rank)
- owner.replace(self, child)
- child.step(owner, created)
- break
-
- elif action(owner, self, s_params, rank, created):
+ if action(owner, self, s_params, rank, created):