Message149363
| Author |
terry.reedy |
| Recipients |
bethard, docs@python, eric.araujo, jaraco, terry.reedy |
| Date |
2011年12月12日.22:58:23 |
| SpamBayes Score |
5.8377236e-07 |
| Marked as misclassified |
No |
| Message-id |
<1323730704.25.0.174835535382.issue13540@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The doc specified the Action API as the interface inherited from argparse.Action plus the addition of a custom __call__ method with 4 params (5 with self) as described. That seems mostly adequate to me, unless there is something missing in the parameter descriptions.
I agree that it should be stated if one should pass the class rather than an instance thereof. (But classes are objects, so that is not a 'contradiction'.) If the example is in error, it should be fixed. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月12日 22:58:24 | terry.reedy | set | recipients:
+ terry.reedy, jaraco, bethard, eric.araujo, docs@python |
| 2011年12月12日 22:58:24 | terry.reedy | set | messageid: <1323730704.25.0.174835535382.issue13540@psf.upfronthosting.co.za> |
| 2011年12月12日 22:58:23 | terry.reedy | link | issue13540 messages |
| 2011年12月12日 22:58:23 | terry.reedy | create |
|