Message148921
| Author |
jaraco |
| Recipients |
docs@python, jaraco |
| Date |
2011年12月06日.14:56:34 |
| SpamBayes Score |
6.4602864e-06 |
| Marked as misclassified |
No |
| Message-id |
<1323183395.55.0.489132691311.issue13540@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In http://docs.python.org/dev/library/argparse.html#action, when describing an arbitrary action, the documentation states, "You can also specify an arbitrary action by passing an object that implements the Action API." This statement does not link to any documentation on the Action API and does not describe the API except to give an example.
Furthermore, the example contradicts the description. The description says "pass an object" but the example passes a class.
The documentation should clarify the text relating to the example and should document the expected interface for a custom action. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月06日 14:56:35 | jaraco | set | recipients:
+ jaraco, docs@python |
| 2011年12月06日 14:56:35 | jaraco | set | messageid: <1323183395.55.0.489132691311.issue13540@psf.upfronthosting.co.za> |
| 2011年12月06日 14:56:34 | jaraco | link | issue13540 messages |
| 2011年12月06日 14:56:34 | jaraco | create |
|