diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-22 22:05:38 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-04 15:14:51 +0900 |
commit | dc2b153835af985c1bd940aa4116b78bf248b6e0 (patch) | |
tree | 29383d6007d2f13c517ae4646e639362017aa9d4 /sphinx/quickstart.py | |
parent | 498fa379efe5b6b106c8d3eb56041164cdc8bab3 (diff) | |
download | sphinx-git-dc2b153835af985c1bd940aa4116b78bf248b6e0.tar.gz |
Update type annotations
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r-- | sphinx/quickstart.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index 81676e8b1..4f38f2b6b 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -14,8 +14,13 @@ import warnings from sphinx.cmd.quickstart import main as _main from sphinx.deprecation import RemovedInSphinx20Warning +if False: + # For type annotation + from typing import Any # NOQA + def main(*args, **kwargs): + # type: (Any, Any) -> None warnings.warn( '`sphinx.quickstart.main()` has moved to `sphinx.cmd.quickstart.' 'main()`.', |