Message151880
| Author |
ncoghlan |
| Recipients |
bethard, docs@python, ncoghlan |
| Date |
2012年01月24日.05:54:57 |
| SpamBayes Score |
0.00043116673 |
| Marked as misclassified |
No |
| Message-id |
<1327384498.23.0.981832544617.issue13850@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月24日 05:54:58 | ncoghlan | set | recipients:
+ ncoghlan, bethard, docs@python |
| 2012年01月24日 05:54:58 | ncoghlan | set | messageid: <1327384498.23.0.981832544617.issue13850@psf.upfronthosting.co.za> |
| 2012年01月24日 05:54:57 | ncoghlan | link | issue13850 messages |
| 2012年01月24日 05:54:57 | ncoghlan | create |
|