[3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)

(cherry picked from commit be42c06bb0)

Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
This commit is contained in:
Łukasz Langa 2021-07-30 16:34:04 +02:00 committed by GitHub
parent a603aa472a
commit 168879e366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 58 additions and 58 deletions

View file

@ -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(...)'