summaryrefslogtreecommitdiff
path: root/sphinx/apidoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/apidoc.py')
-rw-r--r--sphinx/apidoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/apidoc.py b/sphinx/apidoc.py
index 05928be81..d4793ff4d 100644
--- a/sphinx/apidoc.py
+++ b/sphinx/apidoc.py
@@ -402,6 +402,7 @@ Note: By default this script will not overwrite already created files.""")
elif not opts.notoc:
create_modules_toc_file(modules, opts)
+
# So program can be started with "python -m sphinx.apidoc ..."
if __name__ == "__main__":
main()