summaryrefslogtreecommitdiff
path: root/sphinx/domains/python.py
diff options
context:
space:
mode:
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)