(val)
return str(val)
Return a string representation of the value.
Return a string representation of the value.
Return a string representation of the value .
def str_val(val):
        """Return a string representation of the value."""
        if isinstance(val, str) and val == "":
            return "?"
        if isinstance(val, Value):
            if not val.value:
                return "?"
            val = val.value
        return str(val)
def str_val ( val ) : if isinstance ( val , str ) and val == "" : return "?" if isinstance ( val , Value ) : if not val . value : return "?" val = val . value return str ( val )