mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -113,6 +113,9 @@ def break_here(self, frame):
|
|||
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…
Add table
Add a link
Reference in a new issue