diff options
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 ab4cf92da..dbdfb47c1 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -10,12 +10,17 @@ """ import warnings +from typing import TYPE_CHECKING from sphinx.cmd.quickstart import main as _main from sphinx.deprecation import RemovedInSphinx20Warning +if TYPE_CHECKING: + 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()`.', |