From f9ae69d9b003b4839b39b0abc26b6a607b7e08bd Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 26 Mar 2018 02:02:19 +0900 Subject: Drop typing.TYPE_CHECKING --- sphinx/apidoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sphinx/apidoc.py') diff --git a/sphinx/apidoc.py b/sphinx/apidoc.py index f6616e497..dffa4a9ef 100644 --- a/sphinx/apidoc.py +++ b/sphinx/apidoc.py @@ -10,12 +10,12 @@ """ import warnings -from typing import TYPE_CHECKING from sphinx.deprecation import RemovedInSphinx20Warning from sphinx.ext.apidoc import main as _main -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any # NOQA from sphinx.application import Sphinx # NOQA -- cgit v1.2.1