'Lookup name inside dict
Returns a borrowed reference'

def dict_getitem(self, dic, name):

    fnty = Type.function(self.pyobj, [self.pyobj, self.pyobj])
    fn = self._get_function(fnty, name='PyDict_GetItem')
    return self.builder.call(fn, [dic, name])
