From: Terry Jan Reedy Date: Tue, 14 Oct 2014 20:56:42 +0000 (-0400) Subject: Issue #22632: replace dead link with version-specific doc link. X-Git-Tag: v3.5.0a1~662^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee3e56105f666c38e83cf50957b1cac23f5360e0;p=python Issue #22632: replace dead link with version-specific doc link. --- diff --git a/Lib/idlelib/aboutDialog.py b/Lib/idlelib/aboutDialog.py index e264295535..942562a707 100644 --- 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 @@ 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,