summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-13 15:55:19 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-13 15:55:19 (GMT)
commit4a5555b19df364819aa1e3013e0e1701b8cde31a (patch)
tree410781df504a92d37eeee244673f6eb4852a8a38
parent8f15bd8500ea21bbfbc04b6498edfc3a55dd9be7 (diff)
downloadcpython-4a5555b19df364819aa1e3013e0e1701b8cde31a.zip
cpython-4a5555b19df364819aa1e3013e0e1701b8cde31a.tar.gz
cpython-4a5555b19df364819aa1e3013e0e1701b8cde31a.tar.bz2
Remove unused variable 'imports' from readmodule_ex().
-rw-r--r--Lib/pyclbr.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py
index ea42c30..4a153ca 100644
--- a/Lib/pyclbr.py
+++ b/Lib/pyclbr.py
@@ -202,7 +202,6 @@ def readmodule_ex(module, path=[], inpackage=0):
return dict
_modules[module] = dict
- imports = []
classstack = [] # stack of (class, indent) pairs
src = f.read()
f.close()