def dict_getitem(self, dic, name):
    'Lookup name inside dict\n\n        Returns a borrowed reference\n        '
    fnty = Type.function(self.pyobj, [self.pyobj, self.pyobj])
    fn = self._get_function(fnty, name='PyDict_GetItem')
    return self.builder.call(fn, [dic, name])
Lookup name inside dict

Returns a borrowed reference
def dict_getitem(self, dic, name):
    'Lookup name inside dict\n\n        Returns a borrowed reference\n        '
    fnty = Type.function(self.pyobj, [self.pyobj, self.pyobj])
    fn = self._get_function(fnty, name='PyDict_GetItem')
    return self.builder.call(fn, [dic, name])