]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-134970: Fix exception message in argparse module (GH-134971) (GH-134991)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 1 Jun 2025 06:21:34 +0000 (08:21 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Jun 2025 06:21:34 +0000 (06:21 +0000)
commitdf7247a3802f44234b923e3149b0cc11d6133bb7
tree1aa73f8940dd03ada21459b98526c06163fe2292
parent7c1dfd9c988be07c14892177db6b512e4983ca20
[3.14] gh-134970: Fix exception message in argparse module (GH-134971) (GH-134991)

Fix the "unknown action" exception in argparse.ArgumentParser.add_argument_group()
to correctly replace the action class.
(cherry picked from commit 965c48056633d3f4b41520c8cd07f0275f00fb4c)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
Lib/argparse.py
Misc/NEWS.d/next/Library/2025-05-31-12-08-12.gh-issue-134970.lgSaxq.rst [new file with mode: 0644]