summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/bdb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index 5cfb5ef6c5..3fdfbddabf 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -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))