def get_constant_generic(self, builder, ty, val):
        """
        Return a LLVM constant representing value *val* of Numba type *ty*.
        """
        try:
            impl = self._get_constants.find((ty,))
            return impl(self, builder, ty, val)
        except __HOLE__:
            raise NotImplementedError("cannot lower constant of type '%s'" % (ty,))
dataset/ETHPy150Open numba/numba/numba/targets/base.py/BaseContext.get_constant_generic