diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-06-28 17:21:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 17:21:59 +0300 |
commit | 81a654a3425eaa05a51342509089533c1f623f1b (patch) | |
tree | c7ff9702b67797c491daa04030e7c409edaaa509 /Python/generated_cases.c.h | |
parent | 43709d5d5424725ec061de2c12c3761affde69ef (diff) | |
download | cpython-81a654a3425eaa05a51342509089533c1f623f1b.tar.gz cpython-81a654a3425eaa05a51342509089533c1f623f1b.zip |
gh-121018: Fix more cases of exiting in argparse when exit_on_error=False (GH-121056)
* parse_intermixed_args() now raises ArgumentError instead of calling
error() if exit_on_error is false.
* Internal code now always raises ArgumentError instead of calling
error(). It is then caught at the higher level and error() is called if
exit_on_error is true.
Diffstat (limited to 'Python/generated_cases.c.h')
0 files changed, 0 insertions, 0 deletions