diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2004-07-21 03:33:58 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2004-07-21 03:33:58 (GMT) |
commit | 090e636add33907d196b9899eb0f019654a055e8 (patch) | |
tree | fc86335fb9d870a466a78fe96ce943710e992b8f /Lib/idlelib/EditorWindow.py | |
parent | bf76075a4b32414d8a090ada6d2916a5c1a1cc2d (diff) | |
download | cpython-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/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 3 |
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) |