def dict_setitem_string(self, dictobj, name, valobj):
    fnty = Type.function(Type.int(), (self.pyobj, self.cstring, self.pyobj))
    fn = self._get_function(fnty, name='PyDict_SetItemString')
    cstr = self.context.insert_const_string(self.module, name)
    return self.builder.call(fn, (dictobj, cstr, valobj))
def dict_setitem_string(self, dictobj, name, valobj):
    fnty = Type.function(Type.int(), (self.pyobj, self.cstring, self.pyobj))
    fn = self._get_function(fnty, name='PyDict_SetItemString')
    cstr = self.context.insert_const_string(self.module, name)
    return self.builder.call(fn, (dictobj, cstr, valobj))