diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-13 23:00:30 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-13 23:23:14 +0900 |
commit | 2fd24f9129800c4970f973188484f5af3e4fa2a1 (patch) | |
tree | 4a01c9d2e31400d7c20fcbdfe518a75845107358 /sphinx/util/compat.py | |
parent | 87e8dd16b277a17b235b54f038b1a47403753876 (diff) | |
download | sphinx-git-2fd24f9129800c4970f973188484f5af3e4fa2a1.tar.gz |
Revert "Use typing.TYPE_CHECKING"
This reverts commit f51b644f39ff53f14332eb8cd5019bbe8dc0e0e1.
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r-- | sphinx/util/compat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py index 32ac11341..e01558077 100644 --- a/sphinx/util/compat.py +++ b/sphinx/util/compat.py @@ -11,10 +11,10 @@ from __future__ import absolute_import import sys -from typing import TYPE_CHECKING -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Dict # NOQA from sphinx.application import Sphinx # NOQA |