| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
… argparse If a short option and a single-dash long option are passed to add_argument(), dest is now inferred from the single-dash long option.
There was a problem hiding this comment.
Overall, I am supportive of making dest more consistent so thanks for opening this issue and PR. However, there is one edge case that still needs to be addressed.
Sorry, something went wrong.
|
When you're done making the requested changes, leave the comment: I have made the requested changes; please review again. |
Sorry, something went wrong.
|
I have made the requested changes; please review again. |
Sorry, something went wrong.
|
Thanks for making the requested changes! @savannahostrowski: please review the changes made to this pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM! Thanks for this!
Sorry, something went wrong.
… argparse (python#138699) * pythongh-138697: Fix inferring dest from a single-dash long option in argparse If a short option and a single-dash long option are passed to add_argument(), dest is now inferred from the single-dash long option. * Make double-dash options taking priority over single-dash long options. --------- Co-authored-by: Savannah Ostrowski <savannah@python.org>
… argparse (python#138699) * pythongh-138697: Fix inferring dest from a single-dash long option in argparse If a short option and a single-dash long option are passed to add_argument(), dest is now inferred from the single-dash long option. * Make double-dash options taking priority over single-dash long options. --------- Co-authored-by: Savannah Ostrowski <savannah@python.org>
| Back | FazBrowse Home | New Git URL |
If a short option and a single-dash long option are passed to add_argument(), dest is now inferred from the single-dash long option.
📚 Documentation preview 📚: https://cpython-previews--138699.org.readthedocs.build/