Message165060
| Author |
eric.araujo |
| Recipients |
bethard, eric.araujo, flox, mapleoin, nstiurca, r.david.murray, tshepang |
| Date |
2012年07月09日.05:00:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1341810002.23.0.567167247433.issue15125@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Isn’t the obvious workaround to pass a dest argument which is a valid identifier? add_argument('spam-eggs', dest='spam_eggs')
Maybe argparse in 3.4 could do this transformation automatically (see how namedtuple converts anything to valid identifiers). |
|