summaryrefslogtreecommitdiff
path: root/sphinx/builders/applehelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 19:22:40 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 19:22:40 +0900
commitd5288567fd90b77c139a0fb0dbd48e7dbe3454a5 (patch)
treee4083102c6c257d036599b2423213f36831b7f00 /sphinx/builders/applehelp.py
parente4a0f99dda967820e494fd80c7ec07cbc69401d1 (diff)
downloadsphinx-git-d5288567fd90b77c139a0fb0dbd48e7dbe3454a5.tar.gz
Update type annotations
Diffstat (limited to 'sphinx/builders/applehelp.py')
-rw-r--r--sphinx/builders/applehelp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py
index 66ee82ff8..3c2782802 100644
--- a/sphinx/builders/applehelp.py
+++ b/sphinx/builders/applehelp.py
@@ -30,6 +30,7 @@ import subprocess
if False:
# For type annotation
+ from typing import Any # NOQA
from sphinx.application import Sphinx # NOQA
# Use plistlib.dump in 3.4 and above
@@ -271,7 +272,7 @@ class AppleHelpBuilder(StandaloneHTMLBuilder):
def setup(app):
- # type: (Sphinx) -> None
+ # type: (Sphinx) -> Dict[unicode, Any]
app.setup_extension('sphinx.builders.html')
app.add_builder(AppleHelpBuilder)