[Python-checkins] r71909 - in python/branches/release26-maint: Lib/idlelib/EditorWindow.py
kurt.kaiser
python-checkins at python.org
Sat Apr 25 19:30:40 CEST 2009
Author: kurt.kaiser
Date: Sat Apr 25 19:30:40 2009
New Revision: 71909
Log:
Merged revisions 68801 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68801 | raymond.hettinger | 2009-01-20 05:46:23 -0500 (Tue, 20 Jan 2009) | 5 lines
Use Georg's new permalinks to documentation by version number.
That assures that IDLE's help always points to the correct
version and the latest update with all bug fixes.
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Lib/idlelib/EditorWindow.py
Modified: python/branches/release26-maint/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/branches/release26-maint/Lib/idlelib/EditorWindow.py (original)
+++ python/branches/release26-maint/Lib/idlelib/EditorWindow.py Sat Apr 25 19:30:40 2009
@@ -88,7 +88,7 @@
# Safari requires real file:-URLs
EditorWindow.help_url = 'file://' + EditorWindow.help_url
else:
- EditorWindow.help_url = "http://www.python.org/doc/current"
+ EditorWindow.help_url = "http://docs.python.org/%d.%d" % sys.version_info[:2]
currentTheme=idleConf.CurrentTheme()
self.flist = flist
root = root or flist.root
More information about the Python-checkins
mailing list