]> granicus.if.org Git - python/commitdiff
Issue #22632: replace dead link with version-specific doc link.
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 14 Oct 2014 20:56:42 +0000 (16:56 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Tue, 14 Oct 2014 20:56:42 +0000 (16:56 -0400)
Lib/idlelib/aboutDialog.py

index e264295535139dc31a792de22922916ab6624d15..942562a7075677829399a3571dc9e8d36cfb5997 100644 (file)
@@ -4,6 +4,7 @@
 
 from tkinter import *
 import os
+import sys
 
 from idlelib import textView
 from idlelib import idlever
@@ -62,7 +63,8 @@ class AboutDialog(Toplevel):
                            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,