diff options
author | Georg Brandl <georg@python.org> | 2010-10-14 07:17:44 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-14 07:17:44 (GMT) |
commit | f93390a61e0bbd039adde3231850c179022de221 (patch) | |
tree | f03719f210501e71d056696ddfeadaba7ac28563 /Lib/pdb.py | |
parent | 9e7dbc8a708f9f5f29fb527f9e01b1d31a7f09a6 (diff) | |
download | cpython-f93390a61e0bbd039adde3231850c179022de221.zip cpython-f93390a61e0bbd039adde3231850c179022de221.tar.gz cpython-f93390a61e0bbd039adde3231850c179022de221.tar.bz2 |
Remove unused imports.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -73,11 +73,9 @@ import bdb import dis import os import re -import code import pprint import traceback import inspect -import types class Restart(Exception): @@ -528,7 +526,7 @@ class Pdb(bdb.Bdb, cmd.Cmd): arg = arg[colon+1:].lstrip() try: lineno = int(arg) - except ValueError as msg: + except ValueError: self.error('Bad lineno: %s' % arg) return else: |