mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #13191: typo in argparse docs
This commit is contained in:
commit
28a08205c5
2 changed files with 2 additions and 1 deletions
|
@ -1079,7 +1079,7 @@ to each expected argument. By default, ArgumentParser objects use the dest_
|
||||||
value as the "name" of each object. By default, for positional argument
|
value as the "name" of each object. By default, for positional argument
|
||||||
actions, the dest_ value is used directly, and for optional argument actions,
|
actions, the dest_ value is used directly, and for optional argument actions,
|
||||||
the dest_ value is uppercased. So, a single positional argument with
|
the dest_ value is uppercased. So, a single positional argument with
|
||||||
``dest='bar'`` will that argument will be referred to as ``bar``. A single
|
``dest='bar'`` will be referred to as ``bar``. A single
|
||||||
optional argument ``--foo`` that should be followed by a single command-line argument
|
optional argument ``--foo`` that should be followed by a single command-line argument
|
||||||
will be referred to as ``FOO``. An example::
|
will be referred to as ``FOO``. An example::
|
||||||
|
|
||||||
|
|
|
@ -440,6 +440,7 @@ Nadav Horesh
|
||||||
Jan Hosang
|
Jan Hosang
|
||||||
Ken Howard
|
Ken Howard
|
||||||
Brad Howes
|
Brad Howes
|
||||||
|
Mike Hoy
|
||||||
Chih-Hao Huang
|
Chih-Hao Huang
|
||||||
Christian Hudon
|
Christian Hudon
|
||||||
Lawrence Hudson
|
Lawrence Hudson
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue