summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-02-18 22:06:21 (GMT)
committerBarry Warsaw <barry@python.org>1997-02-18 22:06:21 (GMT)
commit19302de7a044a5c9945586016826b1a5dac6d46a (patch)
treedf746962b881fde77bbd869638f69404c06897a4 /Lib
parent7574587587eb865f6beabf27d67e867a0fb5a4b5 (diff)
downloadcpython-19302de7a044a5c9945586016826b1a5dac6d46a.zip
cpython-19302de7a044a5c9945586016826b1a5dac6d46a.tar.gz
cpython-19302de7a044a5c9945586016826b1a5dac6d46a.tar.bz2
join(): Wax the incorrect leading comment
Diffstat (limited to 'Lib')
-rw-r--r--Lib/macpath.py4
-rw-r--r--Lib/ntpath.py4
2 files changed, 0 insertions, 8 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py
index a6cf66b..8d2b18a 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -20,10 +20,6 @@ def isabs(s):
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):
path = s
for t in p:
diff --git a/Lib/ntpath.py b/Lib/ntpath.py
index d395154..a5bdc05 100644
--- a/Lib/ntpath.py
+++ b/Lib/ntpath.py
@@ -34,10 +34,6 @@ def isabs(s):
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):
path = a
for b in p: