Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b17ad commit 27a3530Copy full SHA for 27a3530
2 files changed
Lib/bdb.py
@@ -6,7 +6,7 @@
6
7
__all__ = ["BdbQuit","Bdb","Breakpoint"]
8
9
-BdbQuit = 'bdb.BdbQuit' # Exception to give up completely
+class BdbQuit(Exception): pass
10
11
12
class Bdb:
Lib/macpath.py
@@ -170,7 +170,7 @@ def expanduser(path):
170
"""Dummy to retain interface-compatibility with other operating systems."""
171
return path
172
173
-norm_error = 'macpath.norm_error: path cannot be normalized'
+class norm_error(Exception): pass
174
175
def normpath(s):
176
"""Normalize a pathname. Will return the same result for
0 commit comments