Searched refs:path_separators (Results 1 – 3 of 3) sorted by relevance
42 path_separators = ['\\', '/'] variable44 path_separators = ['/'] variable46 assert all(len(sep) == 1 for sep in path_separators)47 path_sep = path_separators[0]48 path_sep_tuple = tuple(path_separators)49 path_separators = ''.join(path_separators) variable50 _pathseps_with_colon = {f':{s}' for s in path_separators}106 root = new_root.rstrip(path_separators) or root119 path = [p.rstrip(path_separators) for p in path if p]128 return path_sep.join([part.rstrip(path_separators)[all …]
31 alt_path_sep = _bootstrap_external.path_separators[1:]
1316 path_separators = ['\\', '/']1318 path_separators = ['/']1321 + path_separators = path_separators[::-1]1324 assert all(len(sep) == 1 for sep in path_separators)1325 path_sep = path_separators[0]