'Lookup name inside dict
Returns a borrowed reference'

def dict_getitem_string(self, dic, name):

    fnty = Type.function(self.pyobj, [self.pyobj, self.cstring])
    fn = self._get_function(fnty, name='PyDict_GetItemString')
    cstr = self.context.insert_const_string(self.module, name)
    return self.builder.call(fn, [dic, cstr])
