[docs] [issue37908] Add some examples of ArgumentParser.exit()

hai shi report at bugs.python.org
Sat Aug 24 06:17:18 EDT 2019

hai shi <shihai1991 at 126.com> added the comment:

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:(


Python tracker <report at bugs.python.org>

More information about the docs mailing list