def decode(path):
    if isinstance(path, bytes_cls):
        try:
            path = path.decode(fs_encoding, 'strict')
        except __HOLE__:
            if not platform.is_linux():
                raise
            path = path.decode(fs_fallback_encoding, 'strict')
    return path
dataset/ETHPy150Open ppalex7/SourcePawnCompletions/watchdog/utils/unicode_paths.py/decode