summaryrefslogtreecommitdiff
path: root/sphinx/apidoc.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-28 01:01:03 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-28 01:01:03 +0900
commitfebca7cf26d50aae8054eed7268a51785e9aa10f (patch)
treec6219c39d91e4fe9531718076b63fac4b3dea80d /sphinx/apidoc.py
parent2f1cb1e1840f81e52657d3c270183d8d32c6654a (diff)
parent045e8c80f33b5cf077e10edc0955472ce7137e3d (diff)
downloadsphinx-git-febca7cf26d50aae8054eed7268a51785e9aa10f.tar.gz
Merge branch 'master' into refactor_config
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r--sphinx/apidoc.py4
1 files changed, 2 insertions, 2 deletions
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