From 2df393cc51034162d572c81a49b549247ef82c97 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 12 Apr 2011 18:57:55 -0700 Subject: [PATCH] Fix nit. --- Lib/idlelib/EditorWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.40.0