diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-13 19:58:03 (GMT) |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-13 19:58:03 (GMT) |
commit | e285cdd9971ffe1ad70e9cccb196fc433a6a4602 (patch) | |
tree | a2b453190348915164b03e110382e168a70a4df3 /Doc/tools | |
parent | 88f64ce06c1c68e52ce949bc891d3789306bb569 (diff) | |
download | cpython-e285cdd9971ffe1ad70e9cccb196fc433a6a4602.zip cpython-e285cdd9971ffe1ad70e9cccb196fc433a6a4602.tar.gz cpython-e285cdd9971ffe1ad70e9cccb196fc433a6a4602.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.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/pyspecific.py b/Doc/tools/pyspecific.py index a5ee8c2..76f6a9f 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/default/%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 |