diff options
Diffstat (limited to 'sphinx/domains/python.py')
-rw-r--r-- | sphinx/domains/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py index 2efc6db0b..688062be6 100644 --- a/sphinx/domains/python.py +++ b/sphinx/domains/python.py @@ -563,7 +563,7 @@ class PyXRefRole(XRefRole): title = title[1:] dot = title.rfind('.') if dot != -1: - title = title[dot+1:] + title = title[dot + 1:] # if the first character is a dot, search more specific namespaces first # else search builtins first if target[0:1] == '.': |