Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3d54211

Browse filesBrowse files
authored
Fix Wikipedia link (GH-20031)
1 parent d6b727e commit 3d54211
Copy full SHA for 3d54211

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎Doc/library/functools.rst

Copy file name to clipboardExpand all lines: Doc/library/functools.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ The :mod:`functools` module defines the following functions:
158158
bypassing the cache, or for rewrapping the function with a different cache.
159159

160160
An `LRU (least recently used) cache
161-
<https://en.wikipedia.org/wiki/Cache_algorithms#Examples>`_ works
162-
best when the most recent calls are the best predictors of upcoming calls (for
163-
example, the most popular articles on a news server tend to change each day).
164-
The cache's size limit assures that the cache does not grow without bound on
165-
long-running processes such as web servers.
161+
<https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)>`_
162+
works best when the most recent calls are the best predictors of upcoming
163+
calls (for example, the most popular articles on a news server tend to
164+
change each day). The cache's size limit assures that the cache does not
165+
grow without bound on long-running processes such as web servers.
166166

167167
In general, the LRU cache should only be used when you want to reuse
168168
previously computed values. Accordingly, it doesn't make sense to cache

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.