Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-14 21:14:11 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-15 17:57:43 +0300
commit6bc357140dbb074eb0d590c1226009f83f97862e (patch)
treea7c8d2087ee1f50dadb5ca78343ac10c6959b740 /sphinx/search/hu.py
parent0031c9b4822ae9684888ae90bc70d6ceb3313581 (diff)
Replace all "unicode" type by "str"
Diffstat (limited to 'sphinx/search/hu.py')
-rw-r--r--sphinx/search/hu.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/search/hu.py b/sphinx/search/hu.py
index 77b9d5dac..bd7d05f04 100644
--- a/sphinx/search/hu.py
+++ b/sphinx/search/hu.py
@@ -16,7 +16,6 @@ import snowballstemmer
if False:
# For type annotation
from typing import Any # NOQA
- from sphinx.util.typing import unicode # NOQA
hungarian_stopwords = parse_stop_word(u'''
@@ -242,5 +241,5 @@ class SearchHungarian(SearchLanguage):
self.stemmer = snowballstemmer.stemmer('hungarian')
def stem(self, word):
- # type: (unicode) -> unicode
+ # type: (str) -> str
return self.stemmer.stemWord(word.lower())