aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-12-23 09:40:56 -0800
committerGitHub <noreply@github.com>2020-12-23 09:40:56 -0800
commit41b223d29cdfeb1f222c12c3abaccc3bc128f5e7 (patch)
tree817e48eaad3896b63163931a8fdbf3a03005dad1 /Lib/argparse.py
parentbpo-28468: Fix typo in _os_release_candidates (GH-23913) (diff)
downloadcpython-41b223d29cdfeb1f222c12c3abaccc3bc128f5e7.tar.gz
cpython-41b223d29cdfeb1f222c12c3abaccc3bc128f5e7.tar.bz2
cpython-41b223d29cdfeb1f222c12c3abaccc3bc128f5e7.zip
bpo-9694: Fix misleading phrase "optional arguments" (GH-23858)
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r--Lib/argparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py
index 2fb1da59f94..8a12dea7668 100644
--- a/Lib/argparse.py
+++ b/Lib/argparse.py
@@ -1719,7 +1719,7 @@ class ArgumentParser(_AttributeHolder, _ActionsContainer):
add_group = self.add_argument_group
self._positionals = add_group(_('positional arguments'))
- self._optionals = add_group(_('optional arguments'))
+ self._optionals = add_group(_('options'))
self._subparsers = None
# register types