summaryrefslogtreecommitdiffstats
path: root/Lib/macpath.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-31 14:06:41 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-31 14:06:41 (GMT)
commit93cf79fde418725f2c2334eb062f9999da9e806d (patch)
tree1db58480081d0459df1265c1e9186d803553c9d2 /Lib/macpath.py
parentf74e46cf473c3c2197c073cccc3ae4446c9b03a1 (diff)
downloadcpython-93cf79fde418725f2c2334eb062f9999da9e806d.zip
cpython-93cf79fde418725f2c2334eb062f9999da9e806d.tar.gz
cpython-93cf79fde418725f2c2334eb062f9999da9e806d.tar.bz2
Use docstrings for exception classes
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r--Lib/macpath.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py
index 2881c32..6501fcd 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -170,7 +170,8 @@ def expanduser(path):
"""Dummy to retain interface-compatibility with other operating systems."""
return path
-class norm_error(Exception): pass
+class norm_error(Exception):
+ """Path cannot be normalized"""
def normpath(s):
"""Normalize a pathname. Will return the same result for