summaryrefslogtreecommitdiff
path: root/sphinx/builders/changes.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-02-08 14:31:59 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-02-08 18:38:42 +0900
commit6fa0262802a09050e09445c9fd630c69b5ad1204 (patch)
treea2ad8f7849540d1b027e0b99d9913394b23c58d8 /sphinx/builders/changes.py
parent81eb101e9f8fcee1c439ee0dd501d135eced01c6 (diff)
downloadsphinx-git-6fa0262802a09050e09445c9fd630c69b5ad1204.tar.gz
Fix mypy violations
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r--sphinx/builders/changes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py
index fc8532794..1dc22f4ae 100644
--- a/sphinx/builders/changes.py
+++ b/sphinx/builders/changes.py
@@ -122,6 +122,7 @@ class ChangesBuilder(Builder):
'.. deprecated:: %s' % version]
def hl(no, line):
+ # type: (int, unicode) -> unicode
line = '<a name="L%s"> </a>' % no + htmlescape(line)
for x in hltext:
if x in line: