https://github.com/python/cpython/commit/4651a7a496110525a682ae91843ff0d5fb44a435 commit: 4651a7a496110525a682ae91843ff0d5fb44a435 branch: 3.7 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: GitHub <noreply at github.com> date: 2019年09月16日T11:55:43-07:00 summary: Doc: Fix Wikipedia link for functools.lru_cache (GH-16183) (cherry picked from commit 336b3064d8981bc7f76c5cc6f6a0527df69771d6) Co-authored-by: amist <amistern0 at gmail.com> files: M Lib/functools.py diff --git a/Lib/functools.py b/Lib/functools.py index 1daa1d177591..badaa826af9e 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -471,7 +471,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_algorithms#Least_Recently_Used + See: http://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU) """