def text_(s, encoding='latin-1', errors='strict'):
    if isinstance(s, binary_type):
        return s.decode(encoding, errors)
    return s
If ``s`` is an instance of ``binary_type``, return
dataset/ETHPy150Open saltstack/salt/salt/_compat.py/text_