summaryrefslogtreecommitdiffstats
path: root/Lib/linecache.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-08 18:11:25 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-08 18:11:25 (GMT)
commit0ec585575d9f27336b17edad5bd70d54a2ee6d03 (patch)
tree3c97cc768c946440b9f8f2a08c859d93b074e42c /Lib/linecache.py
parent6d4df9b343b0c2ce9cfebba3f9e09d501f0b239b (diff)
downloadcpython-0ec585575d9f27336b17edad5bd70d54a2ee6d03.zip
cpython-0ec585575d9f27336b17edad5bd70d54a2ee6d03.tar.gz
cpython-0ec585575d9f27336b17edad5bd70d54a2ee6d03.tar.bz2
Remove the imputil module.
Diffstat (limited to 'Lib/linecache.py')
-rw-r--r--Lib/linecache.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py
index 90b8646..50a0c1b 100644
--- a/Lib/linecache.py
+++ b/Lib/linecache.py
@@ -108,8 +108,6 @@ def updatecache(filename, module_globals=None):
# Try looking through the module search path.
for dirname in sys.path:
- # When using imputil, sys.path may contain things other than
- # strings; ignore them when it happens.
try:
fullname = os.path.join(dirname, basename)
except (TypeError, AttributeError):