diff options
Diffstat (limited to 'sphinx/ext/apidoc.py')
-rw-r--r-- | sphinx/ext/apidoc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py index 17c95ece2..056835863 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -24,7 +24,6 @@ import os import sys from fnmatch import fnmatch from os import path -from typing import TYPE_CHECKING from six import binary_type @@ -35,7 +34,8 @@ from sphinx.locale import __ from sphinx.util import rst from sphinx.util.osutil import FileAvoidWrite, ensuredir, walk -if TYPE_CHECKING: +if False: + # For type annotation from typing import Any, List, Tuple # NOQA # automodule options |