summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-27 22:43:55 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-27 22:43:55 (GMT)
commit583cc31c223de8f021db7e427876e6097374bc9e (patch)
treec4f1b20cc0c9f7a95f06a7814f42dd38ec2a81cb /Lib
parentb80667d5f3714cf6a136bd9ed42b0fef9618dcb5 (diff)
downloadcpython-583cc31c223de8f021db7e427876e6097374bc9e.zip
cpython-583cc31c223de8f021db7e427876e6097374bc9e.tar.gz
cpython-583cc31c223de8f021db7e427876e6097374bc9e.tar.bz2
Get rid of do_clear_break / do_clb command -- it is redundant.
(It was left in accidentally after a long and arduous 3-way patch session.)
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/pdb.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 87eac0e..9e09078 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -422,26 +422,6 @@ class Pdb(bdb.Bdb, cmd.Cmd):
else:
print 'Deleted breakpoint %s ' % (i,)
do_cl = do_clear # 'c' is already an abbreviation for 'continue'
-
- def do_clear_break(self, arg):
- if not arg:
- self.do_clear("")
- return
- arg = string.strip(arg)
- # First arg is file, second is line, ignore anything else
- args = string.split(arg)
- if len(args) < 2:
- print '*** Specify file and line number.'
- return
- try:
- line = int(args[1])
- except:
- print '*** line number must be an integer.'
- return
- result =self.clear_break(args[0], line)
- if result:
- print result
- do_clb = do_clear_break
def do_where(self, arg):
self.print_stack_trace()