[Python-checkins] cpython (3.2): Fix nit.

raymond.hettinger python-checkins at python.org
Wed Apr 13 03:59:08 CEST 2011


http://hg.python.org/cpython/rev/dfbbe4c1a7bb
changeset: 69311:dfbbe4c1a7bb
branch: 3.2
parent: 69307:104429122abb
user: Raymond Hettinger <python at rcn.com>
date: Tue Apr 12 18:57:55 2011 -0700
summary:
 Fix nit.
files:
 Lib/idlelib/EditorWindow.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -60,7 +60,7 @@
 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):
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /