diff options
author | Frank Dana <ferdnyc@gmail.com> | 2024-02-21 11:32:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 11:32:28 (GMT) |
commit | b052fa381fa2ce6820332d56fb22cd7156529d24 (patch) | |
tree | 4eb28daf3530614838cdbf063ba4faad8481ddf3 /Lib/argparse.py | |
parent | fbd40ce46e7335a5dbaf48a3aa841be22d7302ba (diff) | |
download | cpython-b052fa381fa2ce6820332d56fb22cd7156529d24.zip cpython-b052fa381fa2ce6820332d56fb22cd7156529d24.tar.gz cpython-b052fa381fa2ce6820332d56fb22cd7156529d24.tar.bz2 |
argparse: remove incoherent and redundant docstring for private method (GH-101591)
Signed-off-by: FeRD (Frank Dana) <ferdnyc@gmail.com>
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r-- | Lib/argparse.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py index 6ef0bea..ea39d26 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py @@ -698,14 +698,6 @@ class ArgumentDefaultsHelpFormatter(HelpFormatter): """ def _get_help_string(self, action): - """ - Add the default value to the option help message. - - ArgumentDefaultsHelpFormatter and BooleanOptionalAction when it isn't - already present. This code will do that, detecting cornercases to - prevent duplicates or cases where it wouldn't make sense to the end - user. - """ help = action.help if help is None: help = '' |