def check_slice(self, obj):
    if not config.check_pyobj_types: return 
    self.newline()
    self.comment(obj % "Checking slice type for %s")
    self.append("""
      if (!PySlice_Check(%s)) { 
        PyErr_Format(PyExc_AssertionError, 
                    "Expected %s to be slice, got %%s", 
                    %s); 
        return NULL;
      }""" % (obj, obj, self.c_type_str(obj)))
dataset/ETHPy150Open iskandr/parakeet/parakeet/c_backend/pymodule_compiler.py/PyModuleCompiler.check_slice/swapped operands of `%`