diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-09-24 07:23:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 07:23:07 (GMT) |
commit | 3094cd17b0e5ba69309c54964744c797a70aa11b (patch) | |
tree | abca8f5f42108d59eb7f1a2156ca274818568993 /Misc | |
parent | faef3fa653f2901cc905f98eae0ddcd8dc334d33 (diff) | |
download | cpython-3094cd17b0e5ba69309c54964744c797a70aa11b.zip cpython-3094cd17b0e5ba69309c54964744c797a70aa11b.tar.gz cpython-3094cd17b0e5ba69309c54964744c797a70aa11b.tar.bz2 |
gh-63143: Fix parsing mutually exclusive arguments in argparse (GH-124307)
Arguments with the value identical to the default value (e.g. booleans,
small integers, empty or 1-character strings) are no longer considered
"not present".
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-09-21-23-56-41.gh-issue-63143.YKu-LQ.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-09-21-23-56-41.gh-issue-63143.YKu-LQ.rst b/Misc/NEWS.d/next/Library/2024-09-21-23-56-41.gh-issue-63143.YKu-LQ.rst new file mode 100644 index 0000000..cb031fd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-09-21-23-56-41.gh-issue-63143.YKu-LQ.rst @@ -0,0 +1,3 @@ +Fix parsing mutually exclusive arguments in :mod:`argparse`. Arguments with +the value identical to the default value (e.g. booleans, small integers, +empty or 1-character strings) are no longer considered "not present". |