diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-19 21:22:44 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-19 23:12:45 +0900 |
commit | b6c2ba0d57c8b06941f4c60465c2763c5de123f1 (patch) | |
tree | 9ea78459629ac86d7a45023c7cd406338f954128 /sphinx/quickstart.py | |
parent | 10991cdf671cb1dc4a7cdd4eb6efdea08c968ce3 (diff) | |
download | sphinx-git-b6c2ba0d57c8b06941f4c60465c2763c5de123f1.tar.gz |
Use typing.TYPE_CHECKING
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r-- | sphinx/quickstart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index 8cad0640b..dbdfb47c1 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -10,12 +10,12 @@ """ import warnings +from typing import TYPE_CHECKING from sphinx.cmd.quickstart import main as _main from sphinx.deprecation import RemovedInSphinx20Warning -if False: - # For type annotation +if TYPE_CHECKING: from typing import Any # NOQA |