From 93cf79fde418725f2c2334eb062f9999da9e806d Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 31 Mar 2002 14:06:41 +0000 Subject: Use docstrings for exception classes --- Lib/macpath.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/macpath.py') diff --git a/Lib/macpath.py b/Lib/macpath.py index 2881c324538..6501fcd91d3 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 -- cgit v1.2.3