Mailing List Archive

CVS: python/dist/src/Lib bdb.py,1.36,1.37 macpath.py,1.32,1.33
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv5715

Modified Files:
bdb.py macpath.py
Log Message:
Use docstrings for exception classes

Index: bdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bdb.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** bdb.py 31 Mar 2002 13:58:20 -0000 1.36
--- bdb.py 31 Mar 2002 14:06:41 -0000 1.37
***************
*** 7,11 ****
__all__ = ["BdbQuit","Bdb","Breakpoint"]

! class BdbQuit(Exception): pass


--- 7,12 ----
__all__ = ["BdbQuit","Bdb","Breakpoint"]

! class BdbQuit(Exception):
! """Exception to give up completely"""



Index: macpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/macpath.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** macpath.py 31 Mar 2002 13:58:20 -0000 1.32
--- macpath.py 31 Mar 2002 14:06:41 -0000 1.33
***************
*** 171,175 ****
return path

! class norm_error(Exception): pass

def normpath(s):
--- 171,176 ----
return path

! class norm_error(Exception):
! """Path cannot be normalized"""

def normpath(s):