Make it clear that a bdb subclass must implement do_clear().
This was found by Neal Norwitz's PyChecker.
This commit is contained in:
parent
7e01e284cb
commit
9cec8fba06
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue