-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove add default option to help strings in argparse
Signed-off-by: Micky Yun Chan (michiboo): <[email protected]>
- Loading branch information
Showing
3 changed files
with
23 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
Misc/NEWS.d/next/Library/2021-08-17-21-41-39.bpo-44587.57OKSz.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
Fix BooleanOptionalAction to not automatically add a default string when the | ||
default was manually specified using ``%(default)s`` or the default was set to | ||
SUPPRESS. Add a default string for ``default: None`` to differentiate when | ||
the unset state has a different meaning. | ||
Fix BooleanOptionalAction to not automatically add a default string. If a | ||
default string is desired, use a formatter to add it. |