diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-12 12:54:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-12 12:54:02 +0900 |
commit | 478306e052d9711170b1fbe63635edef02853484 (patch) | |
tree | 502a9e495cef7d748a5a439de35bdb4647f5f138 /sphinx/domains/python.py | |
parent | d170862866a576cf342d27074d009e869e3670c4 (diff) | |
parent | 76ecccf8af86568cde5310638b4ac21c1aee0042 (diff) | |
download | sphinx-git-478306e052d9711170b1fbe63635edef02853484.tar.gz |
Merge pull request #3327 from tk0miya/flake8
Update flake8 rules
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 a7e2bb8f6..ba38f4702 100644 --- a/sphinx/domains/python.py +++ b/sphinx/domains/python.py @@ -527,7 +527,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] == '.': |