[Python-checkins] [3.11] gh-99650 : Updated argparse docs (GH-99653) (GH-99705)
rhettinger
webhook-mailer at python.org
Tue Nov 22 17:17:33 EST 2022
https://github.com/python/cpython/commit/b4ae5b76eda087985624e8c1ef4f9eb825d9dd89
commit: b4ae5b76eda087985624e8c1ef4f9eb825d9dd89
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2022-11-22T14:17:20-08:00
summary:
[3.11] gh-99650 : Updated argparse docs (GH-99653) (GH-99705)
files:
M Doc/library/argparse.rst
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index bcbb38a05e8b..67ca6e77bc00 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1933,7 +1933,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