summaryrefslogtreecommitdiffstats
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-12-23 17:40:56 (GMT)
committerGitHub <noreply@github.com>2020-12-23 17:40:56 (GMT)
commit41b223d29cdfeb1f222c12c3abaccc3bc128f5e7 (patch)
tree817e48eaad3896b63163931a8fdbf3a03005dad1 /Lib/argparse.py
parentbfda4f5776fd20f92b441c8a88ee7a9d44dc8777 (diff)
downloadcpython-41b223d29cdfeb1f222c12c3abaccc3bc128f5e7.zip
cpython-41b223d29cdfeb1f222c12c3abaccc3bc128f5e7.tar.gz
cpython-41b223d29cdfeb1f222c12c3abaccc3bc128f5e7.tar.bz2
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 2fb1da5..8a12dea 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