diff options
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r-- | Lib/macpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index b5c17f0be7..0e32ab2168 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -43,7 +43,7 @@ def split(s): colon = 0 for i in range(len(s)): if s[i] == ':': colon = i+1 - return s[:colon], s[colon:] + return s[:colon-1], s[colon:] # Short interfaces to split() |