def decref(self, value):
        lpyobj = self.context.get_value_type(types.pyobject)
        if value.type == lpyobj:
            self.pyapi.decref(value)
This is allow to be called on non pyobject pointer, in which case
dataset/ETHPy150Open numba/numba/numba/objmode.py/PyLower.decref