Message180053
| Author |
chris.jerdonek |
| Recipients |
bethard, chris.jerdonek, r.david.murray, terry.reedy, wim.glenn |
| Date |
2013年01月15日.21:23:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1358285036.22.0.784760853546.issue16468@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Note that we would also have to deal with not just the error text but also the usage string. From the docs:
>>> parser.parse_args('11'.split())
usage: PROG [-h] {5,6,7,8,9}
PROG: error: argument foo: invalid choice: 11 (choose from 5, 6, 7, 8, 9) |
|