]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-61011: Fix inheritance of nested mutually exclusive groups in argparse...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 11 Oct 2024 09:14:04 +0000 (11:14 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Oct 2024 09:14:04 +0000 (09:14 +0000)
commit079bf1c31ce90fdea7bc1cb385169d9ad1417303
tree819ca5e3c7702cd07a834fbd4d1b75161f8adf3a
parentb3badabcd9bc17e095780adbf52ee9bd015c2771
[3.13] gh-61011: Fix inheritance of nested mutually exclusive groups in argparse (GH-125210) (GH-125308)

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

(cherry picked from commit 18c74497681e0107d7cde53e63ea42feb38f2176)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]