diff options
author | Raymond Hettinger <python@rcn.com> | 2011-04-13 01:57:55 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-04-13 01:57:55 (GMT) |
commit | 2df393cc51034162d572c81a49b549247ef82c97 (patch) | |
tree | 8502fc7ad9f76f5c4b1ecea8dd2df45e55b7781a /Lib/idlelib | |
parent | c90d02c917837825f7c03b1dfe1222de035fc640 (diff) | |
download | cpython-2df393cc51034162d572c81a49b549247ef82c97.zip cpython-2df393cc51034162d572c81a49b549247ef82c97.tar.gz cpython-2df393cc51034162d572c81a49b549247ef82c97.tar.bz2 |
Fix nit.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 2 |
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): |