summaryrefslogtreecommitdiff
path: root/sphinx/domains/python.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-04-27 01:02:09 +0100
committerGitHub <noreply@github.com>2023-04-27 01:02:09 +0100
commit616ba29f28bd04d7f407a247398b3dbba1da204a (patch)
tree09d0709ad7c026eae1de71155308839b303691c7 /sphinx/domains/python.py
parent8dd44d1e13c4a85f085a33422a05fbdfe685e8f1 (diff)
downloadsphinx-git-616ba29f28bd04d7f407a247398b3dbba1da204a.tar.gz
Harmonise references to Sphinx versions (#11361)
Diffstat (limited to 'sphinx/domains/python.py')
-rw-r--r--sphinx/domains/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py
index 2fdd79e86..c461cc311 100644
--- a/sphinx/domains/python.py
+++ b/sphinx/domains/python.py
@@ -1368,7 +1368,7 @@ class PythonDomain(Domain):
type, searchmode)
if not matches and type == 'attr':
- # fallback to meth (for property; Sphinx-2.4.x)
+ # fallback to meth (for property; Sphinx 2.4.x)
# this ensures that `:attr:` role continues to refer to the old property entry
# that defined by ``method`` directive in old reST files.
matches = self.find_obj(env, modname, clsname, target, 'meth', searchmode)