summaryrefslogtreecommitdiff
path: root/sphinx/domains/python.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 13:03:53 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 13:03:53 +0900
commit38d6c34f35c60689f22d1f71ce650ca1e3005ec4 (patch)
tree0677416d0de03a53ee7d348289d8560e511c2bed /sphinx/domains/python.py
parentef912eb9a3e923e80d5c6a08fda4597a65d591aa (diff)
parent478306e052d9711170b1fbe63635edef02853484 (diff)
downloadsphinx-git-38d6c34f35c60689f22d1f71ce650ca1e3005ec4.tar.gz
Merge branch 'stable'
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 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] == '.':