Warning and missing typing function
This commit is contained in:
Eric Wieser 2017-10-20 23:53:33 -07:00 committed by GitHub
parent a4b7927a29
commit 58beeed235

View File

@ -44,7 +44,7 @@ from sphinx.util import texescape
if False: if False:
# For type annotation # For type annotation
from typing import Any, Callable, Dict, List, Pattern # NOQA from typing import Any, Callable, Dict, List, Pattern, Union # NOQA
TERM_ENCODING = getattr(sys.stdin, 'encoding', None) TERM_ENCODING = getattr(sys.stdin, 'encoding', None)