]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-138525: Support single-dash long options and prefix_chars in BooleanOptionalAction...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 22 Nov 2025 20:54:02 +0000 (22:54 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Nov 2025 20:54:02 +0000 (20:54 +0000)
commit425fd85ca360a39a1a3fb16f09c448cb93ff794a
tree07adc9c92637c3acd1655468e0461022ae214e94
parentcde19e565cc9127fe5db38358ebf3bbd75a9d2cd
gh-138525: Support single-dash long options and prefix_chars in BooleanOptionalAction (GH-138692)

-nofoo is generated for -foo.
++no-foo is generated for ++foo.
/nofoo is generated for /foo.
Doc/library/argparse.rst
Doc/whatsnew/3.15.rst
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2025-09-09-10-13-24.gh-issue-138525.hDTaAM.rst [new file with mode: 0644]