Commit f2a1636f authored by Guido van Rossum's avatar Guido van Rossum

Make it clear that a bdb subclass must implement do_clear().

This was found by Neal Norwitz's PyChecker.
parent 507774c7
......@@ -113,6 +113,9 @@ class Bdb:
else:
return 0
def do_clear(self, arg):
raise NotImplementedError, "subclass of bdb must implement do_clear()"
def break_anywhere(self, frame):
return self.breaks.has_key(
self.canonic(frame.f_code.co_filename))
......
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