]> granicus.if.org Git - python/commitdiff
bpo-29888: Fix the link referring to "Python download page" (GH-823)
authorcocoatomo <cocoatomo77@gmail.com>
Mon, 27 Mar 2017 02:59:14 +0000 (11:59 +0900)
committerNed Deily <nad@python.org>
Mon, 27 Mar 2017 02:59:14 +0000 (22:59 -0400)
Doc/tools/templates/download.html

index 2a885d7550bef40da806247043623f108e74b8ee..22fa3b1d0565597c798b57d441d03b9c20c12926 100644 (file)
@@ -75,9 +75,9 @@ files in megabytes.{% endtrans %}</p>
 <p>{% trans %}These archives contain all the content in the
 documentation.{% endtrans %}</p>
 
-<p>{% trans download_page="https://www.python.org/download/releases/{{ release[:5] }}/" %}HTML Help
-(<tt>.chm</tt>) files are made available in the "Windows" section
-on the <a href={{ download_page }}>Python download page</a>.{% endtrans %}</p>
+<p>{% trans download_page="https://www.python.org/downloads/release/python-" + release.replace('.', '') + "/" %}HTML Help
+(<tt>.chm</tt>) files are made available in the "Files" section
+on the <a href="{{ download_page }}">Python download page</a>.{% endtrans %}</p>
 
 
 <h2>{% trans %}Unpacking{% endtrans %}</h2>