[New-bugs-announce] [issue37908] Add some examples of ArgumentParser.exit()

hai shi report at bugs.python.org
Wed Aug 21 13:11:33 EDT 2019


New submission from hai shi <shihai1991 at 126.com>:

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.

----------
assignee: docs at python
components: Documentation
messages: 350097
nosy: docs at python, shihai1991
priority: normal
severity: normal
status: open
title: Add some examples of ArgumentParser.exit()

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37908>
_______________________________________


More information about the New-bugs-announce mailing list