[Python-checkins] cpython (3.4): Issue #22632: replace dead link with version-specific doc link.

terry.reedy python-checkins at python.org
Tue Oct 14 22:57:28 CEST 2014


https://hg.python.org/cpython/rev/db5e431125b1
changeset:   93055:db5e431125b1
branch:      3.4
parent:      93050:cd2ede7f2ff5
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Tue Oct 14 16:56:42 2014 -0400
summary:
  Issue #22632: replace dead link with version-specific doc link.

files:
  Lib/idlelib/aboutDialog.py |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Lib/idlelib/aboutDialog.py b/Lib/idlelib/aboutDialog.py
--- a/Lib/idlelib/aboutDialog.py
+++ b/Lib/idlelib/aboutDialog.py
@@ -4,6 +4,7 @@
 
 from tkinter import *
 import os
+import sys
 
 from idlelib import textView
 from idlelib import idlever
@@ -62,7 +63,8 @@
                            justify=LEFT, fg=self.fg, bg=self.bg)
         labelEmail.grid(row=6, column=0, columnspan=2,
                         sticky=W, padx=10, pady=0)
-        labelWWW = Label(frameBg, text='www:  http://www.python.org/idle/',
+        labelWWW = Label(frameBg, text='https://docs.python.org/' +
+                         sys.version[:3] + '/library/idle.html',
                          justify=LEFT, fg=self.fg, bg=self.bg)
         labelWWW.grid(row=7, column=0, columnspan=2, sticky=W, padx=10, pady=0)
         Frame(frameBg, borderwidth=1, relief=SUNKEN,

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list