def apply_path_dir_wildcard(dirs, path_dir_wildcard):
 path_globs = tuple((pg for d in dirs.dependencies for pg in PathGlob.create_from_spec(d.stat, d.path, path_dir_wildcard.remainder)))
 return PathsExpansion(Paths(tuple()), path_globs)

def apply_path_dir_wildcard ( dirs , path_dir_wildcard ) : path_globs = tuple ( ( pg for d in dirs . dependencies for pg in PathGlob . create_from_spec ( d . stat , d . path , path_dir_wildcard . remainder ) ) ) return PathsExpansion ( Paths ( tuple ( ) ) , path_globs )
given a pathdirwildcard .