summaryrefslogtreecommitdiffstats
path: root/Lib/posixpath.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-09 20:06:00 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-09 20:06:00 (GMT)
commit658cba6706eb4a2ad8b3e235cf0db9fe1c8e9e6b (patch)
tree059882637147ef0acaf1a61141d076d2b05d5166 /Lib/posixpath.py
parent3c61c3525f4cf23acae95c5229abd10fe0998d28 (diff)
downloadcpython-658cba6706eb4a2ad8b3e235cf0db9fe1c8e9e6b.zip
cpython-658cba6706eb4a2ad8b3e235cf0db9fe1c8e9e6b.tar.gz
cpython-658cba6706eb4a2ad8b3e235cf0db9fe1c8e9e6b.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r--Lib/posixpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index 31b3315..2d18f5d 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -346,7 +346,7 @@ def normpath(path):
initial_slashes = path.startswith('/')
# POSIX allows one or two initial slashes, but treats three or more
# as single slash.
- if (initial_slashes and
+ if (initial_slashes and
path.startswith('//') and not path.startswith('///')):
initial_slashes = 2
comps = path.split('/')