Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Doc/library/argparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,8 @@ how the command-line arguments should be handled. The supplied actions are:
Namespace(verbose=3)

Note, the *default* will be ``None`` unless explicitly set to *0*.
If the default value is a non-zero number, the count starts from that
number rather than from zero.
Comment on lines 838 to +840

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Note, the *default* will be ``None`` unless explicitly set to *0*.
If the default value is a non-zero number, the count starts from that
number rather than from zero.
Unless explicitly set, the *default* will be ``None``. If the default
value is a non-zero number, the count starts from that number rather
than from zero.

Minor tweak because I think the preceding sentence could also be worded better.


* ``'help'`` - This prints a complete help message for all the options in the
current parser and then exits. By default a help action is automatically
Expand Down
Loading