Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-07-13 17:29:38 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-07-13 17:46:17 +0300
commit0c48a28ad7216ee064b0db564745d749c049bfd5 (patch)
tree2bc2f13992c930c00bd3b60ea3e2c27c31e659cd /sphinx/util/logging.py
parent0bc530f1b7b3303e0f53e42010b629d67e79b835 (diff)
Fix type annotation for python 3.5.1
Diffstat (limited to 'sphinx/util/logging.py')
-rw-r--r--sphinx/util/logging.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py
index d6667dacd..60a409093 100644
--- a/sphinx/util/logging.py
+++ b/sphinx/util/logging.py
@@ -12,7 +12,7 @@ import logging
import logging.handlers
from collections import defaultdict
from contextlib import contextmanager
-from typing import Any, Dict, Generator, IO, List, Tuple, Type, Union
+from typing import Any, Dict, Generator, IO, List, Tuple, Union
from docutils import nodes
from docutils.nodes import Node
@@ -23,6 +23,7 @@ from sphinx.util.console import colorize
if False:
# For type annotation
+ from typing import Type # for python3.5.1
from sphinx.application import Sphinx