def err_clear(self):
    fnty = Type.function(Type.void(), ())
    fn = self._get_function(fnty, name='PyErr_Clear')
    return self.builder.call(fn, ())
def err_clear(self):
    fnty = Type.function(Type.void(), ())
    fn = self._get_function(fnty, name='PyErr_Clear')
    return self.builder.call(fn, ())