(path_or_paths)
...
...
...
def intermediate(path_or_paths):
    """..."""
    if isinstance(path_or_paths, misc.Marked):
        return path_or_paths
    elif isinstance(path_or_paths, str):
        return misc.Marked(normpath(relpath(
            join(intermediate_dir, path_or_paths))))
    else:
        return list(map(intermediate, path_or_paths))
def intermediate ( path_or_paths ) : if isinstance ( path_or_paths , misc . Marked ) : return path_or_paths elif isinstance ( path_or_paths , str ) : return misc . Marked ( normpath ( relpath ( join ( intermediate_dir , path_or_paths ) ) ) ) else : return list ( map ( intermediate , path_or_paths ) )