Mercurial > cpython-lru_cache-weakref
diff Lib/pdb.py @ 65293:beae76ed5ebf
Remove unused imports.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 14 Oct 2010 07:17:44 +0000 |
| parents | 6ab0f9219660 |
| children | e5fcb4226b42 |
line wrap: on
line diff
--- a/Lib/pdb.py Thu Oct 14 07:14:31 2010 +0000 +++ b/Lib/pdb.py Thu Oct 14 07:17:44 2010 +0000 @@ -73,11 +73,9 @@ import dis import os import re -import code import pprint import traceback import inspect -import types class Restart(Exception): @@ -528,7 +526,7 @@ arg = arg[colon+1:].lstrip() try: lineno = int(arg) - except ValueError as msg: + except ValueError: self.error('Bad lineno: %s' % arg) return else:
