summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-04-13 01:57:55 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-04-13 01:57:55 (GMT)
commit2df393cc51034162d572c81a49b549247ef82c97 (patch)
tree8502fc7ad9f76f5c4b1ecea8dd2df45e55b7781a /Lib
parentc90d02c917837825f7c03b1dfe1222de035fc640 (diff)
downloadcpython-2df393cc51034162d572c81a49b549247ef82c97.zip
cpython-2df393cc51034162d572c81a49b549247ef82c97.tar.gz
cpython-2df393cc51034162d572c81a49b549247ef82c97.tar.bz2
Fix nit.
Diffstat (limited to 'Lib')
-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):