diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:29:26 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:29:26 (GMT) |
commit | ecf41da83e5db98734b19f205899168cc56da943 (patch) | |
tree | e22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/argparse.rst | |
parent | 9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff) | |
download | cpython-ecf41da83e5db98734b19f205899168cc56da943.zip cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.gz cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.bz2 |
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r-- | Doc/library/argparse.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 879bfed..c6b2bf6 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1552,7 +1552,7 @@ Sub-commands positional arguments * description - description for the sub-parser group in help output, by - default None + default ``None`` * prog - usage information that will be displayed with sub-command help, by default the name of the program and any positional arguments before the @@ -1565,12 +1565,12 @@ Sub-commands encountered at the command line * dest_ - name of the attribute under which sub-command name will be - stored; by default None and no value is stored + stored; by default ``None`` and no value is stored - * help_ - help for sub-parser group in help output, by default None + * help_ - help for sub-parser group in help output, by default ``None`` * metavar_ - string presenting available sub-commands in help; by default it - is None and presents sub-commands in form {cmd1, cmd2, ..} + is ``None`` and presents sub-commands in form {cmd1, cmd2, ..} Some example usage:: |