There was an error while loading. Please reload this page.
1 parent 5b9e06e commit 3d16dc6Copy full SHA for 3d16dc6
1 file changed
Doc/library/argparse.rst
@@ -835,7 +835,9 @@ how the command-line arguments should be handled. The supplied actions are:
835
>>> parser.parse_args(['-vvv'])
836
Namespace(verbose=3)
837
838
- Note, the *default* will be ``None`` unless explicitly set to *0*.
+ Unless explicitly set, the *default* will be ``None``. If the default
839
+ value is a non-zero number, the count starts from that number rather
840
+ than from zero.
841
842
* ``'help'`` - This prints a complete help message for all the options in the
843
current parser and then exits. By default a help action is automatically
0 commit comments