]> granicus.if.org Git - python/commitdiff
Doc: Fix Wikipedia link for functools.lru_cache (GH-16183)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Sep 2019 18:55:04 +0000 (11:55 -0700)
committerGitHub <noreply@github.com>
Mon, 16 Sep 2019 18:55:04 +0000 (11:55 -0700)
(cherry picked from commit 336b3064d8981bc7f76c5cc6f6a0527df69771d6)

Co-authored-by: amist <amistern0@gmail.com>
Lib/functools.py

index a674a685df6596fee52353f819a26f549a356023..b41dea79083fc0274b8de0679080c1efa2cd20fc 100644 (file)
@@ -499,7 +499,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)
 
     """