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, paul.j3, shihai1991
Date 2019-08-24.10:17:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566641838.0.0.563786773757.issue37908@roundup.psfhosted.org>
In-reply-to
Content
Adding an example of ArgumentParser.exit(), because some user would like cathing errors manually or consider exit progress or not when an error occurs.

I have not add example of ArgumentParser.error(), because i can not think some user scenarios:(
History
Date User Action Args
2019-08-24 10:17:18shihai1991setrecipients: + shihai1991, docs@python, paul.j3
2019-08-24 10:17:17shihai1991setmessageid: <1566641838.0.0.563786773757.issue37908@roundup.psfhosted.org>
2019-08-24 10:17:17shihai1991linkissue37908 messages
2019-08-24 10:17:17shihai1991create