summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-13 19:58:03 (GMT)
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-13 19:58:03 (GMT)
commite6f8c5025afd9f88844a80ec03d61290ef5ef2d1 (patch)
treeb076f1c08a5a660118209f8d0c0666932fa7d9d8 /Doc/tools
parent53dfcd86e93d78c0070d3da19e932694518b5c40 (diff)
downloadcpython-e6f8c5025afd9f88844a80ec03d61290ef5ef2d1.zip
cpython-e6f8c5025afd9f88844a80ec03d61290ef5ef2d1.tar.gz
cpython-e6f8c5025afd9f88844a80ec03d61290ef5ef2d1.tar.bz2
Use https:// URLs for the bug tracker in the :issue: role.
Thanks to Ezio for noticing this
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/pyspecific.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/pyspecific.py b/Doc/tools/pyspecific.py
index 211a0ed..a17406a 100644
--- a/Doc/tools/pyspecific.py
+++ b/Doc/tools/pyspecific.py
@@ -9,7 +9,7 @@
:license: Python license.
"""
-ISSUE_URI = 'http://bugs.python.org/issue%s'
+ISSUE_URI = 'https://bugs.python.org/issue%s'
SOURCE_URI = 'https://hg.python.org/cpython/file/3.4/%s'
from docutils import nodes, utils
@@ -204,7 +204,7 @@ class MiscNews(Directive):
text = 'The NEWS file is not available.'
node = nodes.strong(text, text)
return [node]
- content = issue_re.sub(r'`\1ssue #\2 <http://bugs.python.org/\2>`__',
+ content = issue_re.sub(r'`\1ssue #\2 <https://bugs.python.org/\2>`__',
content)
content = whatsnew_re.sub(r'\1', content)
# remove first 3 lines as they are the main heading