SIGN IN SIGN UP

[3.14] gh-142346: Fix usage formatting for mutually exclusive groups in argparse (GH-142381) (GH-142385)

Support groups preceded by positional arguments or followed or intermixed
with other optional arguments. Support empty groups.
(cherry picked from commit 1db9f56bff5bbb0292b131ea8a928612acb7ec16)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
7308015d9ce2c3d1a9887b769abc4fd888571dd1
Parent: b188ebe
Committed by GitHub <noreply@github.com> on 12/7/2025, 8:03:05 PM