mirror of https://github.com/python/cpython
join(): Wax the incorrect leading comment
This commit is contained in:
parent
7574587587
commit
19302de7a0
|
@ -20,10 +20,6 @@ def isabs(s):
|
||||||
return ':' in s and s[0] <> ':'
|
return ':' in s and s[0] <> ':'
|
||||||
|
|
||||||
|
|
||||||
# Join pathnames.
|
|
||||||
# Ignore the previous parts if a part is absolute.
|
|
||||||
# Insert a '/' unless the first part is empty or already ends in '/'.
|
|
||||||
|
|
||||||
def join(s, *p):
|
def join(s, *p):
|
||||||
path = s
|
path = s
|
||||||
for t in p:
|
for t in p:
|
||||||
|
|
|
@ -34,10 +34,6 @@ def isabs(s):
|
||||||
return s != '' and s[:1] in '/\\'
|
return s != '' and s[:1] in '/\\'
|
||||||
|
|
||||||
|
|
||||||
# Join pathnames.
|
|
||||||
# Ignore the previous parts if a part is absolute.
|
|
||||||
# Insert a '/' unless the first part is empty or already ends in '/'.
|
|
||||||
|
|
||||||
def join(a, *p):
|
def join(a, *p):
|
||||||
path = a
|
path = a
|
||||||
for b in p:
|
for b in p:
|
||||||
|
|
Loading…
Reference in New Issue