summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-04-13 01:58:40 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-04-13 01:58:40 (GMT)
commitec78bc8e0594a0c394c227a4698c43c176a645a6 (patch)
tree352d6d7cac0e629ab0f7d382465e01defcf73236 /Lib/idlelib
parent9526c621851b69214aaa41cf291573e7116a0f11 (diff)
parent2df393cc51034162d572c81a49b549247ef82c97 (diff)
downloadcpython-ec78bc8e0594a0c394c227a4698c43c176a645a6.zip
cpython-ec78bc8e0594a0c394c227a4698c43c176a645a6.tar.gz
cpython-ec78bc8e0594a0c394c227a4698c43c176a645a6.tar.bz2
Merge
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 3b7bb6d..d77f0a4 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -60,7 +60,7 @@ def _find_module(fullname, path=None):
pass
else:
file = None
- descr = os.path.splitext(filename), None, imp.PY_SOURCE
+ descr = os.path.splitext(filename)[1], None, imp.PY_SOURCE
return file, filename, descr
class EditorWindow(object):