diff --git a/bindings/python/libpreludecpp-python.i b/bindings/python/libpreludecpp-python.i index c526b879..1c880214 100644 --- a/bindings/python/libpreludecpp-python.i +++ b/bindings/python/libpreludecpp-python.i @@ -40,7 +40,7 @@ %feature("python:slot", "tp_repr", functype="reprfunc") *::toString; %feature("python:slot", "mp_subscript", functype="binaryfunc") *::get; %feature("python:slot", "mp_ass_subscript", functype="objobjargproc") *::set; -%feature("python:slot", "tp_hash") Prelude::IDMEFValue::getType; +%feature("python:slot", "tp_hash", functype="hashfunc") Prelude::IDMEFValue::getType; /* * IDMEFClass