def object_hash(self, obj):
    fnty = Type.function(self.py_hash_t, [self.pyobj])
    fname = 'PyObject_Hash'
    fn = self._get_function(fnty, name=fname)
    return self.builder.call(fn, [obj])
def object_hash(self, obj):
    fnty = Type.function(self.py_hash_t, [self.pyobj])
    fname = 'PyObject_Hash'
    fn = self._get_function(fnty, name=fname)
    return self.builder.call(fn, [obj])