New submission from hai shi <shihai1...@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@python
components: Documentation
messages: 350097
nosy: docs@python, shihai1991
priority: normal
severity: normal
status: open
title: Add some examples of ArgumentParser.exit()

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37908>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to