summaryrefslogtreecommitdiff
path: root/sphinx/util/inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/inspect.py')
-rw-r--r--sphinx/util/inspect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py
index 5f2bfe461..ca7a5ef4e 100644
--- a/sphinx/util/inspect.py
+++ b/sphinx/util/inspect.py
@@ -26,6 +26,7 @@ from sphinx.util.pycompat import NoneType
if False:
# For type annotation
from typing import Any, Callable, Dict, List, Tuple, Type # NOQA
+ from sphinx.util.typing import unicode # NOQA
logger = logging.getLogger(__name__)