]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subparsers...
authorJérémie Detrey <jdetrey@users.noreply.github.com>
Tue, 24 Sep 2024 19:54:50 +0000 (21:54 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 19:54:50 +0000 (19:54 +0000)
commitd3c76dff444046504754a437dceebc9a9c87ef18
treee16f5d3dba56b10a267a9a464a19c41db817def3
parentaf8403a58dbe45130400a133f756cbf53c5f1d7e
bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subparsers() (GH-27667)

Call _() on literal strings only.
Lib/argparse.py
Misc/NEWS.d/next/Library/2021-08-24-19-37-46.bpo-44864.KzxaDh.rst [new file with mode: 0644]