Skip to content

Commit 66cc46b

Browse files
authored
Doc: sphinx-lint finds two other default roles. (GH-98019)
1 parent 13d4489 commit 66cc46b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/functools.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ The :mod:`functools` module defines the following functions:
150150
arguments to the function must be hashable.
151151

152152
Distinct argument patterns may be considered to be distinct calls with
153-
separate cache entries. For example, `f(a=1, b=2)` and `f(b=2, a=1)`
153+
separate cache entries. For example, ``f(a=1, b=2)`` and ``f(b=2, a=1)``
154154
differ in their keyword argument order and may have two separate cache
155155
entries.
156156

@@ -197,7 +197,7 @@ The :mod:`functools` module defines the following functions:
197197
The cache keeps references to the arguments and return values until they age
198198
out of the cache or until the cache is cleared.
199199

200-
If a method is cached, the `self` instance argument is included in the
200+
If a method is cached, the ``self`` instance argument is included in the
201201
cache. See :ref:`faq-cache-method-calls`
202202

203203
An `LRU (least recently used) cache

Doc/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ blurb
1010
# sphinx-lint 0.6.2 yields many default role errors due to the new regular
1111
# expression used for default role detection, so we don't use the version
1212
# until the errors are fixed.
13-
sphinx-lint==0.6.4
13+
sphinx-lint==0.6.5
1414

1515
# The theme used by the documentation is stored separately, so we need
1616
# to install that as well.

0 commit comments

Comments
 (0)