'obj[key] = val'

def object_setitem(self, obj, key, val):

    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))
