Author CharlesMerriam
Recipients CharlesMerriam, docs@python
Date 2017-09-29.16:54:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506704042.9.0.213398074469.issue31640@psf.upfronthosting.co.za>
In-reply-to
Content
It is unexpected to testers and users to ArgParse that it terminates the process; one usually expects an error code.  Fix by modifying documentation to section 16.4.4 The parse_args() Method. 

Change the words "Return the populated namespace." to "Return the populated namespace, or exit with a status 0 if the help message is printed, or exit with status 2 if an invalid argument was parsed."
History
Date User Action Args
2017-09-29 16:54:03CharlesMerriamsetrecipients: + CharlesMerriam, docs@python
2017-09-29 16:54:02CharlesMerriamsetmessageid: <1506704042.9.0.213398074469.issue31640@psf.upfronthosting.co.za>
2017-09-29 16:54:02CharlesMerriamlinkissue31640 messages
2017-09-29 16:54:02CharlesMerriamcreate