diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-30 14:25:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 14:25:28 (GMT) |
commit | f7f1c26423b1208ef22cbe0f60f36e26a51cebf6 (patch) | |
tree | 0499d38d116e0ae4b995296b6db472d0952dd50d /Lib/pydoc.py | |
parent | 6ca35f2891a4d88503dbb3143db21a0ff258915b (diff) | |
download | cpython-f7f1c26423b1208ef22cbe0f60f36e26a51cebf6.zip cpython-f7f1c26423b1208ef22cbe0f60f36e26a51cebf6.tar.gz cpython-f7f1c26423b1208ef22cbe0f60f36e26a51cebf6.tar.bz2 |
Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478)
(cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c)
Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 1603618..9f0acd0 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -694,7 +694,7 @@ class HTMLDoc(Doc): url = 'http://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc) results.append('<a href="%s">%s</a>' % (url, escape(all))) elif pep: - url = 'http://www.python.org/dev/peps/pep-%04d/' % int(pep) + url = 'https://www.python.org/dev/peps/pep-%04d/' % int(pep) results.append('<a href="%s">%s</a>' % (url, escape(all))) elif selfdot: # Create a link for methods like 'self.method(...)' |