This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:35jaracosetrecipients: + jaraco, docs@python
2011-12-06 14:56:35jaracosetmessageid: <1323183395.55.0.489132691311.issue13540@psf.upfronthosting.co.za>
2011-12-06 14:56:34jaracolinkissue13540 messages
2011-12-06 14:56:34jaracocreate