summaryrefslogtreecommitdiffstats
path: root/Lib/bdb.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-11-18 15:56:06 (GMT)
committerGuido van Rossum <guido@python.org>1998-11-18 15:56:06 (GMT)
commit691d27a7ae2970ab44abbdc895b856ab77ea0564 (patch)
tree3b619a48030759c5383332c39911468a9794436d /Lib/bdb.py
parent3fe1b14c9660546e04cc1aff2ed0b30416a0677c (diff)
downloadcpython-691d27a7ae2970ab44abbdc895b856ab77ea0564.zip
cpython-691d27a7ae2970ab44abbdc895b856ab77ea0564.tar.gz
cpython-691d27a7ae2970ab44abbdc895b856ab77ea0564.tar.bz2
Bomb on deleting a temporary breakpoint: there's no method
do_delete(); do_clear() was meant. By Greg Ward.
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r--Lib/bdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index f2cf4ca..9a15514 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -96,7 +96,7 @@ class Bdb: # Basic Debugger
if bp:
self.currentbp = bp.number
if (flag and bp.temporary):
- self.do_delete(str(bp.number))
+ self.do_clear(str(bp.number))
return 1
else:
return 0