]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] GH-130750: Restore quoting of choices in argparse error messag… (#149386)
authorSavannah Ostrowski <savannah@python.org>
Mon, 4 May 2026 23:18:05 +0000 (16:18 -0700)
committerGitHub <noreply@github.com>
Mon, 4 May 2026 23:18:05 +0000 (23:18 +0000)
commita02beabe2d6a9601b69054eab268c2606c5837f4
tree2cd8b01de168838610e0306e0876b5fe5b53696f
parent9f9a2732673f55830a5131cb63aebed975cbbc28
[3.13] GH-130750: Restore quoting of choices in argparse error messag… (#149386)

[3.13] 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]