summaryrefslogtreecommitdiff
path: root/sphinx/util/nodes.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-16 09:57:54 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-16 09:57:54 +0900
commite7e07fd69723c02d6b011142f5e97fe2d42bd7d9 (patch)
tree1fe9194dd4115ed070212641ecc46e7d8846d13d /sphinx/util/nodes.py
parent25678f391d55a701b7d5f2d2e214db980dcebbd3 (diff)
parentbe2b86cc15a2f5fca1581c25ebf2db9a189dbc41 (diff)
downloadsphinx-git-e7e07fd69723c02d6b011142f5e97fe2d42bd7d9.tar.gz
Merge branch '1.8'
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r--sphinx/util/nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py
index 78cd34f46..ff73819ee 100644
--- a/sphinx/util/nodes.py
+++ b/sphinx/util/nodes.py
@@ -335,7 +335,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