def __init__ (self, expr = None, steps = None): Step.__init__(self, expr) self._steps = [] if steps is None: steps = [] # Raise a TypeError if steps is not iterable for step in steps: if step is not None: self._steps.append(util.init_child(self, step))
def __init__(self, expr=None, steps=None): Step.__init__(self, expr) self._steps = [] if steps is None: steps = [] # Raise a TypeError if steps is not iterable for step in steps: if step is not None: self._steps.append(util.init_child(self, step))
def __init__ (self, expr = None, step = None): Step.__init__(self, expr) self._step = util.init_child(self, step)
def reset_step(self, step): self._reset_step = util.init_child(self, step)
def trigger_step(self, step): self._trigger_step = util.init_child(self, step)
def __init__(self, expr=None, step=None): Step.__init__(self, expr) self._step = util.init_child(self, step)