[Python-checkins] gh-99650 : Updated argparse docs (GH-99653)
rhettinger
webhook-mailer at python.org
Tue Nov 22 16:16:12 EST 2022
https://github.com/python/cpython/commit/f5fea2288620cb2fda24f3eecc9d623331fe4401
commit: f5fea2288620cb2fda24f3eecc9d623331fe4401
branch: main
author: ram vikram singh <ramvikrams243 at gmail.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2022-11-22T13:16:06-08:00
summary:
gh-99650 : Updated argparse docs (GH-99653)
files:
M Doc/library/argparse.rst
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index c55d94421e5b..f8839d0986d0 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1945,7 +1945,7 @@ Argument groups
.. method:: ArgumentParser.add_argument_group(title=None, description=None)
By default, :class:`ArgumentParser` groups command-line arguments into
- "positional arguments" and "optional arguments" when displaying help
+ "positional arguments" and "options" when displaying help
messages. When there is a better conceptual grouping of arguments than this
default one, appropriate groups can be created using the
:meth:`add_argument_group` method::
More information about the Python-checkins
mailing list