'Borrow reference'

def tuple_getitem(self, tup, idx):

    fnty = Type.function(self.pyobj, [self.pyobj, self.py_ssize_t])
    fn = self._get_function(fnty, name='PyTuple_GetItem')
    idx = self.context.get_constant(types.intp, idx)
    return self.builder.call(fn, [tup, idx])
