summaryrefslogtreecommitdiff
path: root/sphinx/builders/applehelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-05-07 14:09:54 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-05-07 14:28:41 +0900
commit579a79660e843cd86278832c9aad3fec8f8a5fb3 (patch)
tree8c8054180b4ec2a0cf05c784add2e7d85de7d406 /sphinx/builders/applehelp.py
parent3b69c51897fcaea5db573e7c25ce56c03ebac5a7 (diff)
downloadsphinx-git-579a79660e843cd86278832c9aad3fec8f8a5fb3.tar.gz
Update type annotations for new mypy
Diffstat (limited to 'sphinx/builders/applehelp.py')
-rw-r--r--sphinx/builders/applehelp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py
index fa47429e2..f8df9310c 100644
--- a/sphinx/builders/applehelp.py
+++ b/sphinx/builders/applehelp.py
@@ -190,7 +190,7 @@ class AppleHelpBuilder(StandaloneHTMLBuilder):
# Build the access page
logger.info(bold('building access page...'), nonl=True)
- with codecs.open(path.join(language_dir, '_access.html'), 'w') as f:
+ with codecs.open(path.join(language_dir, '_access.html'), 'w') as f: # type: ignore
f.write(access_page_template % {
'toc': htmlescape(toc, quote=True),
'title': htmlescape(self.config.applehelp_title)