summaryrefslogtreecommitdiff
path: root/sphinx/ext/autosectionlabel.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/autosectionlabel.py')
-rw-r--r--sphinx/ext/autosectionlabel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/ext/autosectionlabel.py b/sphinx/ext/autosectionlabel.py
index 5713828a4..459817a4c 100644
--- a/sphinx/ext/autosectionlabel.py
+++ b/sphinx/ext/autosectionlabel.py
@@ -27,6 +27,7 @@ if False:
# For type annotation
from typing import Any, Dict # NOQA
from sphinx.application import Sphinx # NOQA
+ from sphinx.util.typing import unicode # NOQA
def register_sections_as_label(app, document):