summaryrefslogtreecommitdiffstats
path: root/sphinx/search/en.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:20:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:20:59 +0000
commit5de84c9242643f786eff03726286578726d7d390 (patch)
tree8e8eadab2b786c41d7b8a2cdafbb467588928ad0 /sphinx/search/en.py
parentReleasing progress-linux version 7.2.6-8~progress7.99u1. (diff)
downloadsphinx-5de84c9242643f786eff03726286578726d7d390.tar.xz
sphinx-5de84c9242643f786eff03726286578726d7d390.zip
Merging upstream version 7.3.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sphinx/search/en.py')
-rw-r--r--sphinx/search/en.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/search/en.py b/sphinx/search/en.py
index caa6f66..a1f06bd 100644
--- a/sphinx/search/en.py
+++ b/sphinx/search/en.py
@@ -213,7 +213,7 @@ class SearchEnglish(SearchLanguage):
js_stemmer_code = js_porter_stemmer
stopwords = english_stopwords
- def init(self, options: dict) -> None:
+ def init(self, options: dict[str, str]) -> None:
self.stemmer = snowballstemmer.stemmer('porter')
def stem(self, word: str) -> str: