[Python-checkins] Fix Wikipedia link (GH-20031)

Allen Guo webhook-mailer at python.org
Tue May 12 18:54:23 EDT 2020


https://github.com/python/cpython/commit/3d54211e6eddc2f2586b9a20543754947c7ad325
commit: 3d54211e6eddc2f2586b9a20543754947c7ad325
branch: master
author: Allen Guo <guoguo12 at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-05-12T19:54:18-03:00
summary:

Fix Wikipedia link (GH-20031)

files:
M Doc/library/functools.rst

diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 204e66ae5ac40..a44eb85b27dba 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -158,11 +158,11 @@ The :mod:`functools` module defines the following functions:
    bypassing the cache, or for rewrapping the function with a different cache.
 
    An `LRU (least recently used) cache
-   <https://en.wikipedia.org/wiki/Cache_algorithms#Examples>`_ works
-   best when the most recent calls are the best predictors of upcoming calls (for
-   example, the most popular articles on a news server tend to change each day).
-   The cache's size limit assures that the cache does not grow without bound on
-   long-running processes such as web servers.
+   <https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)>`_
+   works best when the most recent calls are the best predictors of upcoming
+   calls (for example, the most popular articles on a news server tend to
+   change each day).  The cache's size limit assures that the cache does not
+   grow without bound on long-running processes such as web servers.
 
    In general, the LRU cache should only be used when you want to reuse
    previously computed values.  Accordingly, it doesn't make sense to cache



More information about the Python-checkins mailing list