diff options
author | Georg Brandl <georg@python.org> | 2013-10-14 14:08:25 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-14 14:08:25 (GMT) |
commit | 979541935ab96dbd6c08f367bc2e9d11428954ba (patch) | |
tree | faf6c997d6c9ed3e612ec2e0cba42a13e5a9c964 /Lib/pdb.py | |
parent | 01867213976adfff09938f8059ea5be6df6e2c4e (diff) | |
parent | 0079ffc0920b89e5ca3b70746c5cc91da7728ac3 (diff) | |
download | cpython-979541935ab96dbd6c08f367bc2e9d11428954ba.zip cpython-979541935ab96dbd6c08f367bc2e9d11428954ba.tar.gz cpython-979541935ab96dbd6c08f367bc2e9d11428954ba.tar.bz2 |
merge with 3.3
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -798,6 +798,8 @@ class Pdb(bdb.Bdb, cmd.Cmd): cond = None try: bp = self.get_bpbynumber(args[0].strip()) + except IndexError: + self.error('Breakpoint number expected') except ValueError as err: self.error(err) else: @@ -825,6 +827,8 @@ class Pdb(bdb.Bdb, cmd.Cmd): count = 0 try: bp = self.get_bpbynumber(args[0].strip()) + except IndexError: + self.error('Breakpoint number expected') except ValueError as err: self.error(err) else: |