diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-03-15 13:11:07 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-03-15 13:11:07 +0900 |
commit | 1d4c414319598320f95eed245e4a2f9ad3e5a668 (patch) | |
tree | dc0a3efc3d6238dba2ea9383f0c16608bf0143c3 /sphinx/ext/apidoc.py | |
parent | f8e7ecf10bad8196e29da5c32ba3a20136063ced (diff) | |
download | sphinx-git-1d4c414319598320f95eed245e4a2f9ad3e5a668.tar.gz |
refactor: Use PEP-526 based variable annotation (sphinx.ext)
Diffstat (limited to 'sphinx/ext/apidoc.py')
-rw-r--r-- | sphinx/ext/apidoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py index 6affde942..d9a9648c6 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -215,7 +215,7 @@ def walk(rootpath: str, excludes: List[str], opts: Any # remove hidden ('.') and private ('_') directories, as well as # excluded dirs if includeprivate: - exclude_prefixes = ('.',) # type: Tuple[str, ...] + exclude_prefixes: Tuple[str, ...] = ('.',) else: exclude_prefixes = ('.', '_') |