]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: sphinx-lint finds two other default roles. (GH-98019)
authorJulien Palard <julien@palard.fr>
Fri, 7 Oct 2022 07:10:51 +0000 (09:10 +0200)
committerGitHub <noreply@github.com>
Fri, 7 Oct 2022 07:10:51 +0000 (09:10 +0200)
Doc/library/functools.rst
Doc/requirements.txt

index 943a05c39d6840bc3188c49a60d284c1997342d5..2f0a9bd8be88155af4a1dae322728300bb917cd9 100644 (file)
@@ -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
index 7f82dc32113a9d7924a5fb1cbe5e58697e1e1fbc..32c53e95917ee463843010b284872434e9acd5dd 100644 (file)
@@ -10,7 +10,7 @@ blurb
 # sphinx-lint 0.6.2 yields many default role errors due to the new regular
 # expression used for default role detection, so we don't use the version
 # until the errors are fixed.
-sphinx-lint==0.6.4
+sphinx-lint==0.6.5
 
 # The theme used by the documentation is stored separately, so we need
 # to install that as well.