SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

gh-112527: Fix help text for required options in argparse (GH-112528)

For optional arguments with required=True, the ArgumentDefaultsHelpFormatter
would always add a " (default: None)" to the end of the help text.
Since that's a bit misleading, it is removed with this commit.
F
Fabian Henze committed
1adb17b1a26e1547d14ca15f915e605cfdda3edd
Parent: b20722c
Committed by GitHub <noreply@github.com> on 12/9/2025, 4:48:35 PM