Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
gh-69223: Document that add_argument() returns an Action object#145538
Conversation
python-cla-botbot commentedMar 5, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
savannahostrowski commentedMar 5, 2026
@Bortlesboat In order to accept this contribution, we'll need you to sign the CLA left in the comment by the bot. |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
savannahostrowski left a comment
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!
b28e5f5 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@Bortlesboat for the PR, and@savannahostrowski for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…pythonGH-145538)(cherry picked from commit b28e5f58ebf8d9badcc893cd189cb1575d4e3614)Co-authored-by: Andrew Barnes <bortstheboat@gmail.com>
…pythonGH-145538)(cherry picked from commitb28e5f5)Co-authored-by: Andrew Barnes <bortstheboat@gmail.com>
GH-145595 is a backport of this pull request to the3.14 branch. |
GH-145596 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Document that ArgumentParser.add_argument() returns an Action object. This is useful when callers need to reference the created action for further customization or inspection.
Closes#69223.
📚 Documentation preview 📚:https://cpython-previews--145538.org.readthedocs.build/