summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r--sphinx/util/pycompat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index 1107427b6..d132f6127 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -22,6 +22,7 @@ from sphinx.util import logging
if False:
# For type annotation
from typing import Any, Callable, Generator # NOQA
+ from sphinx.util.typing import unicode # NOQA
logger = logging.getLogger(__name__)