summaryrefslogtreecommitdiff
path: root/Lib/macpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r--Lib/macpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py
index f54ffa07d7..5125f6b3ea 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -143,7 +143,7 @@ def normpath(s):
i = i - 1
else:
# best way to handle this is to raise an exception
- raise norm_error, 'Cannot use :: immediately after volume name'
+ raise norm_error('Cannot use :: immediately after volume name')
else:
i = i + 1