diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-17 19:21:01 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-17 19:21:01 +0300 |
commit | 9efaf18852fb076893e5a25aa624c0cba0316fa8 (patch) | |
tree | c03d23f3336fc1b5a7a64f86592882af4a40d193 /sphinx/search/zh.py | |
parent | d5e38b6e80ca3d3df86e3e16fbf455dcc9aa1fa1 (diff) | |
parent | d97f41c0e3051a2634b50f4e9abd5e490345cab0 (diff) |
Merge branch '1.7'
Diffstat (limited to 'sphinx/search/zh.py')
-rw-r--r-- | sphinx/search/zh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/search/zh.py b/sphinx/search/zh.py index 1ec2628e9..2301e1103 100644 --- a/sphinx/search/zh.py +++ b/sphinx/search/zh.py @@ -11,7 +11,6 @@ import os import re -from typing import TYPE_CHECKING from sphinx.search import SearchLanguage from sphinx.util.stemmer import get_stemmer @@ -22,7 +21,8 @@ try: except ImportError: JIEBA = False -if TYPE_CHECKING: +if False: + # For type annotation from typing import Dict, List # NOQA english_stopwords = set(u""" |