[Python-checkins]
python/dist/src/Lib/idlelib EditorWindow.py, 1.53, 1.53.6.1
theller at users.sourceforge.net
theller at users.sourceforge.net
Mon Sep 22 10:56:13 EDT 2003
- Previous message: [Python-checkins] python/dist/src/Doc/tools prechm.py, 1.15,
1.15.18.1
- Next message: [Python-checkins] python/dist/src/Doc/lib libcodecs.tex, 1.24,
1.25 libfuncs.tex, 1.148, 1.149 libgopherlib.tex, 1.12,
1.13 libimgfile.tex, 1.11, 1.12 libitertools.tex, 1.16,
1.17 libmultifile.tex, 1.13, 1.14 libregex.tex, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1:/tmp/cvs-serv7361
Modified Files:
Tag: release23-maint
EditorWindow.py
Log Message:
Let IDLE use the HTMLHelp docs, if found.
Index: EditorWindow.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/EditorWindow.py,v
retrieving revision 1.53
retrieving revision 1.53.6.1
diff -C2 -d -r1.53 -r1.53.6.1
*** EditorWindow.py 9 Jul 2003 18:48:24 -0000 1.53
--- EditorWindow.py 22 Sep 2003 14:56:11 -0000 1.53.6.1
***************
*** 51,54 ****
--- 51,55 ----
def __init__(self, flist=None, filename=None, key=None, root=None):
if EditorWindow.help_url is None:
+ dochome = os.path.join(sys.prefix, 'Doc', 'index.html')
if sys.platform.count('linux'):
# look for html docs in a couple of standard places
***************
*** 60,65 ****
dochome = os.path.join(basepath, pyver,
'Doc', 'index.html')
! else:
! dochome = os.path.join(sys.prefix, 'Doc', 'index.html')
dochome = os.path.normpath(dochome)
if os.path.isfile(dochome):
--- 61,70 ----
dochome = os.path.join(basepath, pyver,
'Doc', 'index.html')
! elif sys.platform.count('win') or sys.platform.count('nt'):
! # Try the HTMLHelp file
! chmpath = os.path.join(sys.prefix, 'Doc',
! 'Python%d%d.chm' % sys.version_info[:2])
! if os.path.isfile(chmpath):
! dochome = chmpath
dochome = os.path.normpath(dochome)
if os.path.isfile(dochome):
- Previous message: [Python-checkins] python/dist/src/Doc/tools prechm.py, 1.15,
1.15.18.1
- Next message: [Python-checkins] python/dist/src/Doc/lib libcodecs.tex, 1.24,
1.25 libfuncs.tex, 1.148, 1.149 libgopherlib.tex, 1.12,
1.13 libimgfile.tex, 1.11, 1.12 libitertools.tex, 1.16,
1.17 libmultifile.tex, 1.13, 1.14 libregex.tex, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list