summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
author180909 <734461790@qq.com>2022-05-18 21:08:23 (GMT)
committerGitHub <noreply@github.com>2022-05-18 21:08:23 (GMT)
commitf2d994da104eed38f9e110e7d8f37fa6d845b207 (patch)
tree47c759c35f8a25b59a84b749965a64d6bdc67c32 /Doc
parenta4460f2eb8b9db46a9bce3c450c8b038038a7c93 (diff)
downloadcpython-f2d994da104eed38f9e110e7d8f37fa6d845b207.zip
cpython-f2d994da104eed38f9e110e7d8f37fa6d845b207.tar.gz
cpython-f2d994da104eed38f9e110e7d8f37fa6d845b207.tar.bz2
gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (#92814)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/argparse.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 83dd3cdf..0e62e99 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1701,7 +1701,7 @@ Sub-commands
.. method:: ArgumentParser.add_subparsers([title], [description], [prog], \
[parser_class], [action], \
- [option_string], [dest], [required], \
+ [option_strings], [dest], [required], \
[help], [metavar])
Many programs split up their functionality into a number of sub-commands,