]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101979: argparse: fix a bug where parentheses in metavar argument of add_argument...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 Mar 2023 15:18:34 +0000 (07:18 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Mar 2023 15:18:34 +0000 (07:18 -0800)
commite748f9e2704c173c830c48c069bb566aaeee06e5
tree2d3a4e598ac2b8d1b00994d734cd074d457db2b8
parent63fd95410038d1333da8b514adffdd0f4736aa27
gh-101979: argparse: fix a bug where parentheses in metavar argument of add_argument() were dropped (GH-102318)

(cherry picked from commit 9a478be1a4314734c697dda7a7b0e633a6fb0751)

Co-authored-by: Yeojin Kim <yeojin.dev@gmail.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2023-02-28-09-52-25.gh-issue-101979.or3hXV.rst [new file with mode: 0644]