summaryrefslogtreecommitdiff
path: root/sphinx/util/stemmer/__init__.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-16 19:46:47 +0900
committerGitHub <noreply@github.com>2018-12-16 19:46:47 +0900
commit2597c4174e386552449991a0a247340de3dbcdcc (patch)
tree9941080af8cb6e672846c0030ed621c31204fd1f /sphinx/util/stemmer/__init__.py
parent6395c7d242eda62d0803aa656de82267ebea1a47 (diff)
parentade973f4e376e6eb573be70fcce4f9b21faec500 (diff)
downloadsphinx-git-2597c4174e386552449991a0a247340de3dbcdcc.tar.gz
Merge pull request #5796 from jdufresne/super
Use Python 3 super() argument-less syntax
Diffstat (limited to 'sphinx/util/stemmer/__init__.py')
-rw-r--r--sphinx/util/stemmer/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/stemmer/__init__.py b/sphinx/util/stemmer/__init__.py
index 04b37709c..486d86231 100644
--- a/sphinx/util/stemmer/__init__.py
+++ b/sphinx/util/stemmer/__init__.py
@@ -40,7 +40,7 @@ class StandardStemmer(PorterStemmer, BaseStemmer): # type: ignore
"""
def stem(self, word): # type: ignore
# type: (str) -> str
- return super(StandardStemmer, self).stem(word, 0, len(word) - 1)
+ return super().stem(word, 0, len(word) - 1)
def get_stemmer():