[Python-checkins] Doc: Fix Wikipedia link for functools.lru_cache (GH-16183)

Miss Islington (bot) webhook-mailer at python.org
Mon Sep 16 14:55:47 EDT 2019


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-16T11: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)
 
     """
 



More information about the Python-checkins mailing list