[issue13850] Summary tables for argparse add_argument options

Nick Coghlan report at bugs.python.org
Tue Jan 24 06:54:58 CET 2012


New submission from Nick Coghlan <ncoghlan at gmail.com>:

With the current argparse docs, it's very hard to get a quick reminder of how to spell the various parameters for add_argument, and just what they do. This issue suggests adding a "Quick Reference" section for add_argument, with the following elements:

1. Summary table with a one line description of each parameter
2. Summary table with a one line description of each alternative for the "action" parameter (including noting which other parameters are potentially relevant, such as 'choices' and 'metavar' for 'store' and 'const' for 'store_const')
3. Summary table with a one line description of each alternative for the "nargs" parameter

----------
assignee: docs at python
components: Documentation
messages: 151880
nosy: bethard, docs at python, ncoghlan
priority: normal
severity: normal
status: open
title: Summary tables for argparse add_argument options
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13850>
_______________________________________


More information about the Python-bugs-list mailing list