cpython
cpython copied to clipboard
gh-86463: Fix default prog in subparsers if usage is used in the main parser
The usage parameter of argparse.ArgumentParser no longer affects the default value of the prog parameter in subparsers.
Previously the full custom usage of the main parser was used as the prog prefix in subparsers.
- Issue: gh-86463
📚 Documentation preview 📚: https://cpython-previews--125891.org.readthedocs.build/