Kaydet (Commit) 93cf79fd authored tarafından Neal Norwitz's avatar Neal Norwitz

Use docstrings for exception classes

üst f74e46cf
...@@ -6,7 +6,8 @@ import types ...@@ -6,7 +6,8 @@ import types
__all__ = ["BdbQuit","Bdb","Breakpoint"] __all__ = ["BdbQuit","Bdb","Breakpoint"]
class BdbQuit(Exception): pass class BdbQuit(Exception):
"""Exception to give up completely"""
class Bdb: class Bdb:
......
...@@ -170,7 +170,8 @@ def expanduser(path): ...@@ -170,7 +170,8 @@ def expanduser(path):
"""Dummy to retain interface-compatibility with other operating systems.""" """Dummy to retain interface-compatibility with other operating systems."""
return path return path
class norm_error(Exception): pass class norm_error(Exception):
"""Path cannot be normalized"""
def normpath(s): def normpath(s):
"""Normalize a pathname. Will return the same result for """Normalize a pathname. Will return the same result for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment