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 shihai1991
Recipients docs@python, shihai1991
Date 2019-08-21.17:11:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
As paul said in bpo 9938:
The exit and error methods are mentioned in the 3.4 documentation, but there are no examples of modifying them.

    16.4.5.9. Exiting methods
    ArgumentParser.exit(status=0, message=None)
    ArgumentParser.error(message)

I will update the examples in this weekend.
History
Date User Action Args
2019-08-21 17:11:33shihai1991setrecipients: + shihai1991, docs@python
2019-08-21 17:11:33shihai1991setmessageid: <[email protected]>
2019-08-21 17:11:33shihai1991linkissue37908 messages
2019-08-21 17:11:33shihai1991create