diff options
author | cocoatomo <cocoatomo77@gmail.com> | 2017-03-27 02:59:14 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2017-03-27 02:59:14 (GMT) |
commit | 6f95b37f290e0225aed5f8f7733ad0730601201b (patch) | |
tree | 1ec4b24f337ceb46d2f8e25612ea4c3cc36fa38e /Doc | |
parent | 5084ff7ddfe68969d95af12075016f309718aea8 (diff) | |
download | cpython-6f95b37f290e0225aed5f8f7733ad0730601201b.zip cpython-6f95b37f290e0225aed5f8f7733ad0730601201b.tar.gz cpython-6f95b37f290e0225aed5f8f7733ad0730601201b.tar.bz2 |
bpo-29888: Fix the link referring to "Python download page" (GH-823)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tools/templates/download.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 2a885d7..22fa3b1 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -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> |