def __repr__(self):
        raw_value = super(EnumType, self).value
        if raw_value in self.values:
            value = self.value
            return "<{0} {1}({2})>".format(type(self).__name__, value.name, hex(raw_value))
        return "<{0}({1})>".format(type(self).__name__, hex(self.value))
dataset/ETHPy150Open hakril/PythonForWindows/windows/generated_def/winstructs.py/EnumType.__repr__/original