summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2021-07-30 13:54:46 (GMT)
committerGitHub <noreply@github.com>2021-07-30 13:54:46 (GMT)
commitbe42c06bb01206209430f3ac08b72643dc7cad1c (patch)
tree85df7eaca19021bab89cb63f7c8022dcbe13c2fb /Doc/library/functools.rst
parentea4673ed0757e9bfe8774e60cfae3313e9927b5f (diff)
downloadcpython-be42c06bb01206209430f3ac08b72643dc7cad1c.zip
cpython-be42c06bb01206209430f3ac08b72643dc7cad1c.tar.gz
cpython-be42c06bb01206209430f3ac08b72643dc7cad1c.tar.bz2
Update URLs in comments and metadata to use HTTPS (GH-27458)
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 871c94a..e40fe7b 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -202,7 +202,7 @@ The :mod:`functools` module defines the following functions:
@lru_cache(maxsize=32)
def get_pep(num):
'Retrieve text of a Python Enhancement Proposal'
- resource = 'http://www.python.org/dev/peps/pep-%04d/' % num
+ resource = 'https://www.python.org/dev/peps/pep-%04d/' % num
try:
with urllib.request.urlopen(resource) as s:
return s.read()