Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
GH-108009: Add clarification of parser and argument defaults in argparse docs#124154
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
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.
(Stock reminder: You can apply my suggestions with one click using theCommit suggestion button :)
I agree with the change overall, though I left a suggestion to make it substantially shorter, simpler and clearer, which hopefully helps address others' concerns about overcomplicating the docs. Thanks!
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
@hpaulj, does this change satisfy your criteria? |
Uh oh!
There was an error while loading.Please reload this page.
This PR clarifies the nuances of setting defaults at the parser and argument level using argparse.
📚 Documentation preview 📚:https://cpython-previews--124154.org.readthedocs.build/