def list_append(self, lst, val):
    fnty = Type.function(Type.int(), [self.pyobj, self.pyobj])
    fn = self._get_function(fnty, name='PyList_Append')
    return self.builder.call(fn, [lst, val])
def list_append(self, lst, val):
    fnty = Type.function(Type.int(), [self.pyobj, self.pyobj])
    fn = self._get_function(fnty, name='PyList_Append')
    return self.builder.call(fn, [lst, val])