From 2fd24f9129800c4970f973188484f5af3e4fa2a1 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Tue, 13 Mar 2018 23:00:30 +0900 Subject: [PATCH] Revert "Use typing.TYPE_CHECKING" This reverts commit f51b644f39ff53f14332eb8cd5019bbe8dc0e0e1. --- sphinx/util/compat.py | 4 ++-- 1 file 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