summaryrefslogtreecommitdiff
path: root/sphinx/search/en.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-03-03 12:19:09 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-03-03 23:17:34 +0900
commit554199d30e418f72f215fae65924b47249d2544c (patch)
treefd952e21a8f4e9dabf91c5e3731dea3712ade006 /sphinx/search/en.py
parent28b1aceefedbb9c3a12d6ba7c712df8ad5e98db8 (diff)
downloadsphinx-git-554199d30e418f72f215fae65924b47249d2544c.tar.gz
Upgrade to mypy-0.5
Diffstat (limited to 'sphinx/search/en.py')
-rw-r--r--sphinx/search/en.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sphinx/search/en.py b/sphinx/search/en.py
index c6658ffdc..fbee9ba60 100644
--- a/sphinx/search/en.py
+++ b/sphinx/search/en.py
@@ -12,7 +12,11 @@
from sphinx.search import SearchLanguage
from sphinx.util.stemmer import get_stemmer
-english_stopwords = set("""
+if False:
+ # For type annotation
+ from typing import Dict # NOQA
+
+english_stopwords = set(u"""
a and are as at
be but by
for