def object_setitem(self, obj, key, val):
    '\n        obj[key] = val\n        '
    fnty = Type.function(Type.int(), [self.pyobj, self.pyobj, self.pyobj])
    fn = self._get_function(fnty, name='PyObject_SetItem')
    return self.builder.call(fn, (obj, key, val))
obj[key] = val
def object_setitem(self, obj, key, val):
    '\n        \n        '
    fnty = Type.function(Type.int(), [self.pyobj, self.pyobj, self.pyobj])
    fn = self._get_function(fnty, name='PyObject_SetItem')
    return self.builder.call(fn, (obj, key, val))