def tuple_size(self, tup):
    fnty = Type.function(self.py_ssize_t, [self.pyobj])
    fn = self._get_function(fnty, name='PyTuple_Size')
    return self.builder.call(fn, [tup])
def tuple_size(self, tup):
    fnty = Type.function(self.py_ssize_t, [self.pyobj])
    fn = self._get_function(fnty, name='PyTuple_Size')
    return self.builder.call(fn, [tup])