From 3c99d0060557bb33a482f3fe74c1b665fb3de010 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 24 Nov 2018 20:14:43 +0900 Subject: Add sphinx.util.typing:unicode to help mypy-3 migration --- sphinx/ext/linkcode.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sphinx/ext/linkcode.py') diff --git a/sphinx/ext/linkcode.py b/sphinx/ext/linkcode.py index 6e16a1ac5..6ac37f7fe 100644 --- a/sphinx/ext/linkcode.py +++ b/sphinx/ext/linkcode.py @@ -20,6 +20,7 @@ if False: # For type annotation from typing import Any, Dict, Set # NOQA from sphinx.application import Sphinx # NOQA + from sphinx.util.typing import unicode # NOQA class LinkcodeError(SphinxError): -- cgit v1.2.1