diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-10-16 09:56:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 09:56:40 +0900 |
commit | be2b86cc15a2f5fca1581c25ebf2db9a189dbc41 (patch) | |
tree | 07ace712b6137c3a878ff6ab309bbefbd35397dc /sphinx/util/nodes.py | |
parent | 8c56fd87479291e2e6b901d3ed44e889d27801da (diff) | |
parent | a77f3519fa11793f939e4a28947e57df9afde793 (diff) | |
download | sphinx-git-be2b86cc15a2f5fca1581c25ebf2db9a189dbc41.tar.gz |
Merge pull request #5537 from tk0miya/mypy-0.641
Fix mypy violations
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r-- | sphinx/util/nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py index 7e4dba01e..03e06c416 100644 --- a/sphinx/util/nodes.py +++ b/sphinx/util/nodes.py @@ -287,7 +287,7 @@ def clean_astext(node): def split_explicit_title(text): # type: (unicode) -> Tuple[bool, unicode, unicode] """Split role content into title and target, if given.""" - match = explicit_title_re.match(text) # type: ignore + match = explicit_title_re.match(text) if match: return True, match.group(1), match.group(2) return False, text, text |