-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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 our terms of service and privacy 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 the Commit 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!
Co-authored-by: C.A.M. Gerlach <[email protected]>
@hpaulj, does this change satisfy your criteria? |
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/