summaryrefslogtreecommitdiff
path: root/sphinx/theming.py
diff options
context:
space:
mode:
authorThomas Kluyver <thomas@kluyver.me.uk>2021-12-24 18:13:17 +0000
committerThomas Kluyver <thomas@kluyver.me.uk>2021-12-24 18:13:17 +0000
commitc7e34936ffb197988b6dfd74227cb73bad05b345 (patch)
tree6f5283ee344f279938ce355377c21e08ac0e540b /sphinx/theming.py
parent71b3e2c822143e1f9657bbd2c3c52180cdc851b4 (diff)
downloadsphinx-git-c7e34936ffb197988b6dfd74227cb73bad05b345.tar.gz
Rename variables for clarity
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r--sphinx/theming.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py
index 763a657fb..7a002201a 100644
--- a/sphinx/theming.py
+++ b/sphinx/theming.py
@@ -204,9 +204,9 @@ class HTMLThemeFactory:
Sphinx refers to ``sphinx_themes`` entry_points.
"""
# look up for new styled entry_points at first
- theme_eps = entry_points(group='sphinx.html_themes')
+ theme_entry_points = entry_points(group='sphinx.html_themes')
try:
- entry_point = theme_eps[name]
+ entry_point = theme_entry_points[name]
self.app.registry.load_extension(self.app, entry_point.module)
return
except KeyError: