[Python-checkins] r68801 - python/trunk/Lib/idlelib/EditorWindow.py

raymond.hettinger python-checkins at python.org
Tue Jan 20 11:46:23 CET 2009


Author: raymond.hettinger
Date: Tue Jan 20 11:46:23 2009
New Revision: 68801
Log:
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/trunk/Lib/idlelib/EditorWindow.py
Modified: python/trunk/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/trunk/Lib/idlelib/EditorWindow.py	(original)
+++ python/trunk/Lib/idlelib/EditorWindow.py	Tue Jan 20 11:46:23 2009
@@ -80,7 +80,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

AltStyle によって変換されたページ (->オリジナル) /