summaryrefslogtreecommitdiff
path: root/sphinx/apidoc.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-02-19 00:31:57 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-02-19 00:31:57 +0900
commit10991cdf671cb1dc4a7cdd4eb6efdea08c968ce3 (patch)
tree3db53c6cb387041c408aebb3ba61acbc5662a94d /sphinx/apidoc.py
parent8bc3691966232baafba4fd9bb4a7ce3e979a5f71 (diff)
parent8e73cbca5206e11b62838a90e9f935e7906e8b85 (diff)
downloadsphinx-git-10991cdf671cb1dc4a7cdd4eb6efdea08c968ce3.tar.gz
Merge branch '1.7'
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 4a0452044..f397631fb 100644
--- a/sphinx/apidoc.py
+++ b/sphinx/apidoc.py
@@ -28,6 +28,7 @@ def main(*args, **kwargs):
RemovedInSphinx20Warning,
stacklevel=2,
)
+ args = args[1:] # skip first argument to adjust arguments (refs: #4615)
_main(*args, **kwargs)