summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc/server.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-30 14:25:28 (GMT)
committerGitHub <noreply@github.com>2021-07-30 14:25:28 (GMT)
commitf7f1c26423b1208ef22cbe0f60f36e26a51cebf6 (patch)
tree0499d38d116e0ae4b995296b6db472d0952dd50d /Lib/xmlrpc/server.py
parent6ca35f2891a4d88503dbb3143db21a0ff258915b (diff)
downloadcpython-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/xmlrpc/server.py')
-rw-r--r--Lib/xmlrpc/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py
index 287e324..69a260f 100644
--- a/Lib/xmlrpc/server.py
+++ b/Lib/xmlrpc/server.py
@@ -750,7 +750,7 @@ class ServerHTMLDoc(pydoc.HTMLDoc):
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 text[end:end+1] == '(':
results.append(self.namelink(name, methods, funcs, classes))