diff options
| author | Georg Brandl <georg@python.org> | 2010-10-14 07:17:44 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-10-14 07:17:44 +0000 |
| commit | f93390a61e0bbd039adde3231850c179022de221 (patch) | |
| tree | f03719f210501e71d056696ddfeadaba7ac28563 /Lib | |
| parent | 9e7dbc8a708f9f5f29fb527f9e01b1d31a7f09a6 (diff) | |
| download | cpython-git-f93390a61e0bbd039adde3231850c179022de221.tar.gz | |
Remove unused imports.
Diffstat (limited to 'Lib')
| -rwxr-xr-x | Lib/pdb.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py index 9a91af6a53..a159d4ccd7 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -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: |
