commit | 658cba6706eb4a2ad8b3e235cf0db9fe1c8e9e6b | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Feb 09 20:06:00 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Feb 09 20:06:00 2001 +0000 |
tree | 059882637147ef0acaf1a61141d076d2b05d5166 | |
parent | 3c61c3525f4cf23acae95c5229abd10fe0998d28 [diff] [blame] |
Whitespace normalization.
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 @@ 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('/')