-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-46228: argparse docs: prog default is the basename of argv[0] #30298
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
Can you open a bug report on bugs.python.org? |
Done. See https://bugs.python.org/issue46228 |
Thanks @lf- for the PR, and @rhettinger for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
(cherry picked from commit 8e75c6b) Co-authored-by: Jade Lovelace <[email protected]>
GH-30339 is a backport of this pull request to the 3.10 branch. |
|
See the following snippet from the argparse source, which contradicts the current docs:
cpython/Lib/argparse.py
Lines 1733 to 1735 in e800dd1
https://bugs.python.org/issue46228