summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-10-14 20:56:42 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-10-14 20:56:42 (GMT)
commitee3e56105f666c38e83cf50957b1cac23f5360e0 (patch)
tree0baf49519af0eb551a4304ecf8fc30b6be2e0570
parent0ae550bdde7cc87defb89dd19c912bf4485619f5 (diff)
downloadcpython-ee3e56105f666c38e83cf50957b1cac23f5360e0.zip
cpython-ee3e56105f666c38e83cf50957b1cac23f5360e0.tar.gz
cpython-ee3e56105f666c38e83cf50957b1cac23f5360e0.tar.bz2
Issue #22632: replace dead link with version-specific doc link.
-rw-r--r--Lib/idlelib/aboutDialog.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/aboutDialog.py b/Lib/idlelib/aboutDialog.py
index e264295..942562a 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,