Message148921
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. |
|
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 | |
|