-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-94787: [doc] Add to argparse doc an example of a mutually-exclusive group nested in an argument group #94807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It's not obvious that a group can be added to a group, and this is important when trying to organize your help output. (New main branch PR originally from PR python#94788)
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Friendly nudge. @slateny |
Actually, per #66246 some forms of nesting may not actually be supported, and there's also a deprecation note underneath the changes mentioning that nesting with mutually exclusive group is deprecated. |
Okay, but this change is about adding a mutex group to a regular arg group (to get help title/description), not to another mutex group, which I believe is what all those other conversations are about. So I've just updated the PR with some copy changes to clarify that. Is it okay in this manner? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Irit said it's supported, the clarifications lgtm :)
Co-authored-by: Stanley <[email protected]>
Co-authored-by: Stanley <[email protected]>
Co-authored-by: Stanley <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm thanks, will tag Irit per the reply in the issue
Co-authored-by: Irit Katriel <[email protected]>
Co-authored-by: Irit Katriel <[email protected]>
Thank you, @scottamain. |
My pleasure, thank you for your prompt attention and contribution, @iritkatriel and @slateny |
It's not obvious that a group can be added to a group, and this is important when trying to organize your help output.
(New main branch PR originally from PR #94788)