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:
parent
230dd27628
commit
7b4c2beda6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue