paul j3 added the comment:
And the actual exit is via `parse.error` and `parse.exit`, which are documented
in 16.4.5.9.
When run interactively in Ipython, exits (including the help) are captured and
displayed with:
In [896]: parser.parse_args()
usage: ipython3 [-h]
R. David Murray added the comment:
I think this is reasonable, but do note that this is covered in 16.4.4.2, and
the fact that help exits is actually a property of help, not parse_args. That
is, the docs are correct and complete as they stand, but I agree that it would
New submission from Charles Merriam :
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