]> 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:16:14 +0000 (07:16 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Mar 2023 15:16:14 +0000 (07:16 -0800)
commit2a062f275970b3775b055c2c82f31b766271ae18
treeb979dcc7adbe32657e2a6b90c376869eaaf03719
parentd4a04e55d8bd8eaa307f3e4aa8b443301a0d996a
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]