def on_slice(self, node):    # ():('lower', 'upper', 'step')
        return slice(self.run(node.lower), self.run(node.upper),
                     self.run(node.step))
simple slice
dataset/ETHPy150Open xraypy/xraylarch/lib/interpreter.py/Interpreter.on_slice