def number_float(self, val):
    fnty = Type.function(self.pyobj, [self.pyobj])
    fn = self._get_function(fnty, name='PyNumber_Float')
    return self.builder.call(fn, [val])
def number_float(self, val):
    fnty = Type.function(self.pyobj, [self.pyobj])
    fn = self._get_function(fnty, name='PyNumber_Float')
    return self.builder.call(fn, [val])