summaryrefslogtreecommitdiff
path: root/sphinx/util/rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/rst.py')
-rw-r--r--sphinx/util/rst.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/rst.py b/sphinx/util/rst.py
index c46389d7e..a59b2b07e 100644
--- a/sphinx/util/rst.py
+++ b/sphinx/util/rst.py
@@ -23,6 +23,7 @@ from sphinx.util import logging
if False:
# For type annotation
from typing import Generator # NOQA
+ from sphinx.util.typing import unicode # NOQA
symbols_re = re.compile(r'([!-\-/:-@\[-`{-~])') # symbols without dot(0x2e)
logger = logging.getLogger(__name__)