diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-28 01:01:03 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-03-28 01:01:03 +0900 |
commit | febca7cf26d50aae8054eed7268a51785e9aa10f (patch) | |
tree | c6219c39d91e4fe9531718076b63fac4b3dea80d /sphinx/apidoc.py | |
parent | 2f1cb1e1840f81e52657d3c270183d8d32c6654a (diff) | |
parent | 045e8c80f33b5cf077e10edc0955472ce7137e3d (diff) | |
download | sphinx-git-febca7cf26d50aae8054eed7268a51785e9aa10f.tar.gz |
Merge branch 'master' into refactor_config
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r-- | sphinx/apidoc.py | 4 |
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 |