summaryrefslogtreecommitdiffstats
path: root/sphinx/search/it.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/search/it.py')
-rw-r--r--sphinx/search/it.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/search/it.py b/sphinx/search/it.py
index 7bf712b..8436dfa 100644
--- a/sphinx/search/it.py
+++ b/sphinx/search/it.py
@@ -9,7 +9,7 @@ import snowballstemmer
from sphinx.search import SearchLanguage, parse_stop_word
italian_stopwords = parse_stop_word('''
-| source: http://snowball.tartarus.org/algorithms/italian/stop.txt
+| source: https://snowball.tartarus.org/algorithms/italian/stop.txt
ad | a (to) before vowel
al | a + il
allo | a + lo
@@ -309,7 +309,7 @@ class SearchItalian(SearchLanguage):
js_stemmer_rawcode = 'italian-stemmer.js'
stopwords = italian_stopwords
- def init(self, options: dict) -> None:
+ def init(self, options: dict[str, str]) -> None:
self.stemmer = snowballstemmer.stemmer('italian')
def stem(self, word: str) -> str: