diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2021-07-30 06:54:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 15:54:46 +0200 |
commit | be42c06bb01206209430f3ac08b72643dc7cad1c (patch) | |
tree | 85df7eaca19021bab89cb63f7c8022dcbe13c2fb /Lib/pydoc.py | |
parent | ea4673ed0757e9bfe8774e60cfae3313e9927b5f (diff) | |
download | cpython-git-be42c06bb01206209430f3ac08b72643dc7cad1c.tar.gz |
Update URLs in comments and metadata to use HTTPS (GH-27458)
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 16036186f7..9f0acd0271 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(...)' |