summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sewell <chrisj_sewell@hotmail.com>2021-04-20 01:00:28 +0200
committerChris Sewell <chrisj_sewell@hotmail.com>2021-04-23 22:40:07 +0200
commit9019144590fe1ad056d417f8a3f814890a68ecda (patch)
tree6a7bc200a5796760b9b9eed3851335e12fc0010c
parentc47f8aa6d16616acce27a7708d622008d67c802d (diff)
downloadsphinx-git-9019144590fe1ad056d417f8a3f814890a68ecda.tar.gz
remove type: ignore
-rw-r--r--sphinx/domains/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py
index dbb315e6e..26cc45387 100644
--- a/sphinx/domains/python.py
+++ b/sphinx/domains/python.py
@@ -1023,7 +1023,7 @@ class PythonModuleIndex(Index):
) -> Tuple[List[Tuple[str, List[IndexEntry]]], bool]:
content: Dict[str, List[IndexEntry]] = {}
# list of prefixes to ignore
- ignores: List[str] = self.domain.env.config['modindex_common_prefix'] # type: ignore
+ ignores: List[str] = self.domain.env.config['modindex_common_prefix']
ignores = sorted(ignores, key=len, reverse=True)
# list of all modules, sorted by module name
modules = sorted(self.domain.data['modules'].items(),