summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2022-10-07 07:10:51 (GMT)
committerGitHub <noreply@github.com>2022-10-07 07:10:51 (GMT)
commit66cc46b2e4c841bb95cc8b8214f86e85f22fb19e (patch)
tree5790e1977631c0c4f0707b21e81b4f0f50f3a570 /Doc/library/functools.rst
parent13d44891426e0faf165f974f2e46907ab5b645a9 (diff)
downloadcpython-66cc46b2e4c841bb95cc8b8214f86e85f22fb19e.zip
cpython-66cc46b2e4c841bb95cc8b8214f86e85f22fb19e.tar.gz
cpython-66cc46b2e4c841bb95cc8b8214f86e85f22fb19e.tar.bz2
Doc: sphinx-lint finds two other default roles. (GH-98019)
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 943a05c..2f0a9bd 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -150,7 +150,7 @@ The :mod:`functools` module defines the following functions:
arguments to the function must be hashable.
Distinct argument patterns may be considered to be distinct calls with
- separate cache entries. For example, `f(a=1, b=2)` and `f(b=2, a=1)`
+ separate cache entries. For example, ``f(a=1, b=2)`` and ``f(b=2, a=1)``
differ in their keyword argument order and may have two separate cache
entries.
@@ -197,7 +197,7 @@ The :mod:`functools` module defines the following functions:
The cache keeps references to the arguments and return values until they age
out of the cache or until the cache is cleared.
- If a method is cached, the `self` instance argument is included in the
+ If a method is cached, the ``self`` instance argument is included in the
cache. See :ref:`faq-cache-method-calls`
An `LRU (least recently used) cache