mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
Update URLs in comments and metadata to use HTTPS (GH-27458)
This commit is contained in:
parent
ea4673ed07
commit
be42c06bb0
39 changed files with 58 additions and 58 deletions
|
@ -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(...)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue