summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-20 10:46:23 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-20 10:46:23 (GMT)
commit7b4c2beda6b54c28070a04467e22e03f90b43450 (patch)
tree7cbc132687334053332c8ed5b0725bcaa60caa54 /Lib/idlelib
parent230dd276283cd39756a907439a3e699e51fefa6e (diff)
downloadcpython-7b4c2beda6b54c28070a04467e22e03f90b43450.zip
cpython-7b4c2beda6b54c28070a04467e22e03f90b43450.tar.gz
cpython-7b4c2beda6b54c28070a04467e22e03f90b43450.tar.bz2
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.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 8d35198c..0b34242 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -80,7 +80,7 @@ class EditorWindow(object):
# 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