SIGN IN SIGN UP

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

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.
(cherry picked from commit 1adb17b1a26e1547d14ca15f915e605cfdda3edd)

Co-authored-by: Fabian Henze <32638720+henzef@users.noreply.github.com>
S
Serhiy Storchaka committed
24036f55e4787dae90fd49543fa67eab3ff57669
Parent: 55e16b7
Committed by GitHub <noreply@github.com> on 12/9/2025, 5:36:24 PM