def apply(self):
        for expr, const in self.getitems:
            expr.op = 'static_getitem'
            expr.index_var = expr.index
            expr.index = const
        return self.block
Rewrite all matching getitems as static_getitems.
dataset/ETHPy150Open numba/numba/numba/rewrites/static_getitem.py/RewriteConstGetitems.apply