summaryrefslogtreecommitdiff
path: root/Lib/pdb.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-14 07:17:44 +0000
committerGeorg Brandl <georg@python.org>2010-10-14 07:17:44 +0000
commitf93390a61e0bbd039adde3231850c179022de221 (patch)
treef03719f210501e71d056696ddfeadaba7ac28563 /Lib/pdb.py
parent9e7dbc8a708f9f5f29fb527f9e01b1d31a7f09a6 (diff)
downloadcpython-git-f93390a61e0bbd039adde3231850c179022de221.tar.gz
Remove unused imports.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-xLib/pdb.py4
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: