diff options
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 e8133baab..07339d6e6 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -227,7 +227,7 @@ def walk(rootpath: str, excludes: List[str], opts: Any def has_child_module(rootpath: str, excludes: List[str], opts: Any) -> bool: """Check the given directory contains child module/s (at least one).""" - for root, subs, files in walk(rootpath, excludes, opts): + for _root, _subs, files in walk(rootpath, excludes, opts): if files: return True |