Kaydet (Commit) a8462368 authored tarafından Brett Cannon's avatar Brett Cannon

Continue the good fight to get Windows to like importlib by fixing a

variable name.
üst 27f29d84
......@@ -61,12 +61,14 @@ def _r_long(int_bytes):
return x
# XXX Optimize for single-separator OSs by having two versions of this function
# and choosing in _setup().
def _path_join(*args):
"""Replacement for os.path.join()."""
if len(path_separators) == 1:
sep = path_sep
else:
for c in reversed(args[0]):
for x in reversed(args[0]):
if x in path_separators:
sep = x
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment