summaryrefslogtreecommitdiff
path: root/sphinx/theming.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r--sphinx/theming.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py
index bba47b344..b7fb652ac 100644
--- a/sphinx/theming.py
+++ b/sphinx/theming.py
@@ -211,7 +211,7 @@ class HTMLThemeFactory:
def find_themes(self, theme_path: str) -> Dict[str, str]:
"""Search themes from specified directory."""
- themes = {} # type: Dict[str, str]
+ themes: Dict[str, str] = {}
if not path.isdir(theme_path):
return themes