summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2004-07-21 03:33:58 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2004-07-21 03:33:58 (GMT)
commit090e636add33907d196b9899eb0f019654a055e8 (patch)
treefc86335fb9d870a466a78fe96ce943710e992b8f /Lib
parentbf76075a4b32414d8a090ada6d2916a5c1a1cc2d (diff)
downloadcpython-090e636add33907d196b9899eb0f019654a055e8.zip
cpython-090e636add33907d196b9899eb0f019654a055e8.tar.gz
cpython-090e636add33907d196b9899eb0f019654a055e8.tar.bz2
EditorWindow.py was not finding the .chm help file on Windows. Typo
at Rev 1.54. Python Bug 990954
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/EditorWindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 41d26e5..e427479 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -61,7 +61,8 @@ class EditorWindow:
dochome = os.path.join(basepath, pyver,
'Doc', 'index.html')
elif sys.platform[:3] == 'win':
- chmfile = os.path.join(sys.prefix, "Python%d%d.chm" % sys.version_info[:2])
+ chmfile = os.path.join(sys.prefix, 'Doc',
+ 'Python%d%d.chm' % sys.version_info[:2])
if os.path.isfile(chmfile):
dochome = chmfile
dochome = os.path.normpath(dochome)