Home
last modified time | relevance | path

Searched refs:path_separators (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/importlib/
D_bootstrap_external.py42 path_separators = ['\\', '/'] variable
44 path_separators = ['/'] variable
46 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) variable
50 _pathseps_with_colon = {f':{s}' for s in path_separators}
106 root = new_root.rstrip(path_separators) or root
119 path = [p.rstrip(path_separators) for p in path if p]
128 return path_sep.join([part.rstrip(path_separators)
[all …]
/third_party/python/Lib/
Dzipimport.py31 alt_path_sep = _bootstrap_external.path_separators[1:]
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch1316 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]