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.
This commit is contained in:
Raymond Hettinger 2009-01-20 10:46:23 +00:00
parent 230dd27628
commit 7b4c2beda6
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class EditorWindow(object):
# Safari requires real file:-URLs # Safari requires real file:-URLs
EditorWindow.help_url = 'file://' + EditorWindow.help_url EditorWindow.help_url = 'file://' + EditorWindow.help_url
else: 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() currentTheme=idleConf.CurrentTheme()
self.flist = flist self.flist = flist
root = root or flist.root root = root or flist.root