summaryrefslogtreecommitdiffstats
path: root/Lib/linecache.py
diff options
context:
space:
mode:
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):