summaryrefslogtreecommitdiff
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-04-12 18:57:55 -0700
committerRaymond Hettinger <python@rcn.com>2011-04-12 18:57:55 -0700
commit2df393cc51034162d572c81a49b549247ef82c97 (patch)
tree8502fc7ad9f76f5c4b1ecea8dd2df45e55b7781a /Lib/idlelib/EditorWindow.py
parentc90d02c917837825f7c03b1dfe1222de035fc640 (diff)
downloadcpython-git-2df393cc51034162d572c81a49b549247ef82c97.tar.gz
Fix nit.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-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 3b7bb6df6f..d77f0a42ee 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):