Issue 9112: argparse missing documentation for error() method - Python tracker

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.

classification
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: bethard, docs@python, georg.brandl, mark, sandro.tosi
Priority: normal Keywords: patch

Created on 2010-06-29 08:06 by mark, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue9112-py3k.patch sandro.tosi, 2010-09-30 18:36
Messages (3)
msg108896 - (view) Author: Mark Summerfield (mark) * Date: 2010-06-29 08:06
The argparse module's ArgumentParser class has an error() method that appears to have the same behavior as the optparse error() method, but this method is not mentioned in the documentation.
msg117758 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2010-09-30 18:36
Hello,
attached a patch that adds the exiting methods (exit() and error()) to argparse documentation.

Regards,
Sandro
msg118926 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-10-17 10:28
Committed after review in r85622. Thanks!