diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-13 17:01:11 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-13 17:23:15 +0300 |
commit | 70a622b86c753f8b2b4c197e7baf8bdc64a2afc3 (patch) | |
tree | e962ae56902569a52a23091f6f69d16943bbadcd /sphinx/theming.py | |
parent | 2fd24f9129800c4970f973188484f5af3e4fa2a1 (diff) |
Revert "Use typing.TYPE_CHECKING for typehints"
This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
Diffstat (limited to 'sphinx/theming.py')
-rw-r--r-- | sphinx/theming.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py index bfd7e68ae..33c4c76be 100644 --- a/sphinx/theming.py +++ b/sphinx/theming.py @@ -14,7 +14,6 @@ import shutil import tempfile import warnings from os import path -from typing import TYPE_CHECKING from zipfile import ZipFile import pkg_resources @@ -30,7 +29,8 @@ from sphinx.util.osutil import ensuredir logger = logging.getLogger(__name__) -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, Dict, Iterator, List, Tuple # NOQA from sphinx.application import Sphinx # NOQA |