diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-18 01:21:01 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-18 01:21:01 +0900 |
commit | 9efaf18852fb076893e5a25aa624c0cba0316fa8 (patch) | |
tree | c03d23f3336fc1b5a7a64f86592882af4a40d193 /sphinx/util/compat.py | |
parent | d5e38b6e80ca3d3df86e3e16fbf455dcc9aa1fa1 (diff) | |
parent | d97f41c0e3051a2634b50f4e9abd5e490345cab0 (diff) | |
download | sphinx-git-9efaf18852fb076893e5a25aa624c0cba0316fa8.tar.gz |
Merge branch '1.7'
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 c6578c810..43ced1f5e 100644 --- a/sphinx/util/compat.py +++ b/sphinx/util/compat.py @@ -13,14 +13,14 @@ from __future__ import absolute_import import sys import warnings -from typing import TYPE_CHECKING from six import string_types, iteritems from sphinx.deprecation import RemovedInSphinx30Warning from sphinx.util import import_object -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Dict # NOQA from sphinx.application import Sphinx # NOQA from sphinx.config import Config # NOQA |