]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-61011: Fix inheritance of nested mutually exclusive groups in argparse (GH-125210)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 11 Oct 2024 08:43:29 +0000 (11:43 +0300)
committerGitHub <noreply@github.com>
Fri, 11 Oct 2024 08:43:29 +0000 (11:43 +0300)
commit18c74497681e0107d7cde53e63ea42feb38f2176
tree94d9b01f05b6900d934e90957980ea30966ea89d
parent0135848059162ad81478a7776fec622d68a36524
gh-61011: Fix inheritance of nested mutually exclusive groups in argparse (GH-125210)

Previously, all nested mutually exclusive groups lost their connection
to the group containing them and were displayed as belonging directly
to the parser.

Co-authored-by: Danica J. Sutherland <djsutherland@users.noreply.github.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/ACKS
Misc/NEWS.d/next/Library/2024-10-09-21-42-43.gh-issue-61011.pQXZb1.rst [new file with mode: 0644]