diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-24 14:14:43 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-24 17:19:51 +0300 |
commit | 3c99d0060557bb33a482f3fe74c1b665fb3de010 (patch) | |
tree | 756aecf0bcb307e553f3903ee5bd9ff9b32d44f1 /sphinx/highlighting.py | |
parent | 95dffb2af6fbdefe30f1b492adedc4036abd6f84 (diff) |
Add sphinx.util.typing:unicode to help mypy-3 migration
Diffstat (limited to 'sphinx/highlighting.py')
-rw-r--r-- | sphinx/highlighting.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py index 8bd12c991..27a2c9bab 100644 --- a/sphinx/highlighting.py +++ b/sphinx/highlighting.py @@ -34,6 +34,7 @@ if False: # For type annotation from typing import Any, Dict # NOQA from pygments.formatter import Formatter # NOQA + from sphinx.util.typing import unicode # NOQA logger = logging.getLogger(__name__) |