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/directives/patches.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sphinx/directives/patches.py') diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py index 1c90d5313..2ae2b401b 100644 --- a/sphinx/directives/patches.py +++ b/sphinx/directives/patches.py @@ -20,6 +20,7 @@ if False: # For type annotation from typing import Dict, List, Tuple # NOQA from sphinx.application import Sphinx # NOQA + from sphinx.util.typing import unicode # NOQA class Figure(images.Figure): -- cgit v1.2.1