summaryrefslogtreecommitdiff
path: root/Lib/functools.py
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2021-07-30 06:54:46 -0700
committerGitHub <noreply@github.com>2021-07-30 15:54:46 +0200
commitbe42c06bb01206209430f3ac08b72643dc7cad1c (patch)
tree85df7eaca19021bab89cb63f7c8022dcbe13c2fb /Lib/functools.py
parentea4673ed0757e9bfe8774e60cfae3313e9927b5f (diff)
downloadcpython-git-be42c06bb01206209430f3ac08b72643dc7cad1c.tar.gz
Update URLs in comments and metadata to use HTTPS (GH-27458)
Diffstat (limited to 'Lib/functools.py')
-rw-r--r--Lib/functools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index b1f1fe8d9a..357c1dfd90 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -492,7 +492,7 @@ def lru_cache(maxsize=128, typed=False):
with f.cache_info(). Clear the cache and statistics with f.cache_clear().
Access the underlying function with f.__wrapped__.
- See: http://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)
+ See: https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)
"""
@@ -660,7 +660,7 @@ def cache(user_function, /):
def _c3_merge(sequences):
"""Merges MROs in *sequences* to a single MRO using the C3 algorithm.
- Adapted from http://www.python.org/download/releases/2.3/mro/.
+ Adapted from https://www.python.org/download/releases/2.3/mro/.
"""
result = []