]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subpar...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Sep 2024 01:03:29 +0000 (03:03 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 01:03:29 +0000 (18:03 -0700)
commit6425443e1dc2b2051b2b2e953d719bd5f1659eb5
tree1faa603f8898f8f6ab2d20360160c9c222ad698d
parent0a57fe3a7d4047e07f5f393a25b7c6d5db466004
[3.13] bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subparsers() (GH-27667) (#124506)

bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subparsers() (GH-27667)

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]