]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134970: Fix exception message in argparse module (GH-134971)
authorMichał Górny <mgorny@gentoo.org>
Sun, 1 Jun 2025 05:56:56 +0000 (07:56 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Jun 2025 05:56:56 +0000 (08:56 +0300)
commit965c48056633d3f4b41520c8cd07f0275f00fb4c
treeeab61e126b77a872ef9e5fa014ba0342a5f86814
parentcebae977a63f32c3c03d14c040df3cea55b8f585
gh-134970: Fix exception message in argparse module (GH-134971)

Fix the "unknown action" exception in argparse.ArgumentParser.add_argument_group()
to correctly replace the action class.
Lib/argparse.py
Misc/NEWS.d/next/Library/2025-05-31-12-08-12.gh-issue-134970.lgSaxq.rst [new file with mode: 0644]