Issue 9112: argparse missing documentation for error() method (original) (raw)

Issue9112

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!
History
Date User Action Args
2022-04-11 14:57:03 admin set github: 53358
2010-10-17 10:28:15 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + resolution: fixed
2010-09-30 18:36:42 sandro.tosi set files: + issue9112-py3k.patchnosy: + sandro.tosimessages: + keywords: + patch
2010-06-29 13:37:03 r.david.murray set nosy: + bethard
2010-06-29 08:06:48 mark create