Skip to content

Commit 6f95b37

Browse files
cocoatomoned-deily
authored andcommitted
bpo-29888: Fix the link referring to "Python download page" (GH-823)
1 parent 5084ff7 commit 6f95b37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/tools/templates/download.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ <h1>{% trans %}Download Python {{ release }} Documentation{% endtrans %}</h1>
7575
<p>{% trans %}These archives contain all the content in the
7676
documentation.{% endtrans %}</p>
7777

78-
<p>{% trans download_page="https://www.python.org/download/releases/{{ release[:5] }}/" %}HTML Help
79-
(<tt>.chm</tt>) files are made available in the "Windows" section
80-
on the <a href={{ download_page }}>Python download page</a>.{% endtrans %}</p>
78+
<p>{% trans download_page="https://www.python.org/downloads/release/python-" + release.replace('.', '') + "/" %}HTML Help
79+
(<tt>.chm</tt>) files are made available in the "Files" section
80+
on the <a href="{{ download_page }}">Python download page</a>.{% endtrans %}</p>
8181

8282

8383
<h2>{% trans %}Unpacking{% endtrans %}</h2>

0 commit comments

Comments
 (0)