summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-26 18:37:12 (GMT)
committerGeorg Brandl <georg@python.org>2016-02-26 18:37:12 (GMT)
commit5d9413404017a829aa5ddb52be6019fb63ec5c09 (patch)
tree75b750d4224ada300bdd242b3e08c2120681aad6 /Doc/library/functools.rst
parent06871ef2b31bc6d7398388fbe83816edde5c0392 (diff)
downloadcpython-5d9413404017a829aa5ddb52be6019fb63ec5c09.zip
cpython-5d9413404017a829aa5ddb52be6019fb63ec5c09.tar.gz
cpython-5d9413404017a829aa5ddb52be6019fb63ec5c09.tar.bz2
Closes #25910: fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 46aa887..72b1ecd 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -73,7 +73,7 @@ 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
- <http://en.wikipedia.org/wiki/Cache_algorithms#Examples>`_ works
+ <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
@@ -99,9 +99,9 @@ The :mod:`functools` module defines the following functions:
CacheInfo(hits=3, misses=8, maxsize=32, currsize=8)
Example of efficiently computing
- `Fibonacci numbers <http://en.wikipedia.org/wiki/Fibonacci_number>`_
+ `Fibonacci numbers <https://en.wikipedia.org/wiki/Fibonacci_number>`_
using a cache to implement a
- `dynamic programming <http://en.wikipedia.org/wiki/Dynamic_programming>`_
+ `dynamic programming <https://en.wikipedia.org/wiki/Dynamic_programming>`_
technique::
@lru_cache(maxsize=None)