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/jsdump.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sphinx/util/jsdump.py') diff --git a/sphinx/util/jsdump.py b/sphinx/util/jsdump.py index e7b1146a2..88e7cbfa8 100644 --- a/sphinx/util/jsdump.py +++ b/sphinx/util/jsdump.py @@ -17,6 +17,7 @@ from six import integer_types if False: # For type annotation from typing import Any, Dict, IO, List, Match, Union # NOQA + from sphinx.util.typing import unicode # NOQA _str_re = re.compile(r'"(\\\\|\\"|[^"])*"') _int_re = re.compile(r'\d+') -- cgit v1.2.1