def type(self):
        """
        Returns the type of the choice. See Symbol.type.
        """
        if self.orig_type is TRISTATE and not self.kconfig.modules.tri_value:
            return BOOL
        return self.orig_type

        Returns the type of the choice. See Symbol.type.
        
buildroot-external/scripts/kconfiglib.py