]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] GH-130750: Restore quoting of choices in argparse error messag… (#149385)
authorSavannah Ostrowski <savannah@python.org>
Mon, 4 May 2026 22:22:54 +0000 (15:22 -0700)
committerGitHub <noreply@github.com>
Mon, 4 May 2026 22:22:54 +0000 (22:22 +0000)
commita458589a7e224cc45a868af2eb727e4f898e8d22
tree8a659663e96b95430d15f7201355381125ba8aeb
parent316f6265b7f9ca4ffed5346b747475ef1943f35d
[3.14] GH-130750: Restore quoting of choices in argparse error messag… (#149385)

[3.14] GH-130750: Restore quoting of choices in argparse error messages to match documentation and improve clarity (GH-144983)
(cherry picked from commit 53a7f76501923059188922be231db855265fe9a4)
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2026-02-19-04-40-57.gh-issue-130750.0hW52O.rst [new file with mode: 0644]