diff options
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r-- | sphinx/apidoc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/apidoc.py b/sphinx/apidoc.py index 89d59da16..87a9f3fb3 100644 --- a/sphinx/apidoc.py +++ b/sphinx/apidoc.py @@ -410,8 +410,8 @@ Note: By default this script will not overwrite already created files.""") module_path = rootpath, append_syspath = opts.append_syspath, ) - enabled_exts = {'ext_'+ext: getattr(opts, 'ext_'+ext) - for ext in EXTENSIONS if getattr(opts, 'ext_'+ext)} + enabled_exts = {'ext_' + ext: getattr(opts, 'ext_' + ext) + for ext in EXTENSIONS if getattr(opts, 'ext_' + ext)} d.update(enabled_exts) if isinstance(opts.header, binary_type): |