diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-14 01:42:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 01:42:02 +0900 |
commit | fd18695689bb6224261cba378354dabe4ec4fbb4 (patch) | |
tree | 09d2d4c483f366dda6ed8336aea2cde6060979fc /sphinx/ext/coverage.py | |
parent | 6694981dd6939ab876b27d4e20a8128561c307ac (diff) | |
parent | 40446f594936376166070b34bb03027a3bf4be83 (diff) | |
download | sphinx-git-fd18695689bb6224261cba378354dabe4ec4fbb4.tar.gz |
Merge pull request #4735 from tk0miya/revert_TYPE_CHECKING
#4725: Sphinx does not work with python 3.5.0 and 3.5.1
Diffstat (limited to 'sphinx/ext/coverage.py')
-rw-r--r-- | sphinx/ext/coverage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py index 73bd8d68e..6c9acfc7d 100644 --- a/sphinx/ext/coverage.py +++ b/sphinx/ext/coverage.py @@ -14,7 +14,6 @@ import glob import inspect import re from os import path -from typing import TYPE_CHECKING from six import iteritems from six.moves import cPickle as pickle @@ -24,7 +23,8 @@ from sphinx.builders import Builder from sphinx.util import logging from sphinx.util.inspect import safe_getattr -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Callable, Dict, IO, List, Pattern, Set, Tuple # NOQA from sphinx.application import Sphinx # NOQA |