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/util/pycompat.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sphinx/util/pycompat.py') 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__) -- cgit v1.2.1