]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subpar...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Sep 2024 10:28:27 +0000 (12:28 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 10:28:27 +0000 (10:28 +0000)
commit306368c9c881040e383fa9f43ee671620ff133fc
treecf64abd62b23bab246f30358805be7662da47f20
parentcf06f5905ff01927c5a357b293e16e191be7fe66
[3.12] bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subparsers() (GH-27667) (GH-124505)

Call _() on literal strings only.
(cherry picked from commit d3c76dff444046504754a437dceebc9a9c87ef18)

Co-authored-by: Jérémie Detrey <jdetrey@users.noreply.github.com>
Lib/argparse.py
Misc/NEWS.d/next/Library/2021-08-24-19-37-46.bpo-44864.KzxaDh.rst [new file with mode: 0644]