From b052fa381fa2ce6820332d56fb22cd7156529d24 Mon Sep 17 00:00:00 2001 From: Frank Dana Date: Wed, 21 Feb 2024 06:32:28 -0500 Subject: argparse: remove incoherent and redundant docstring for private method (GH-101591) Signed-off-by: FeRD (Frank Dana) --- Lib/argparse.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Lib/argparse.py') diff --git a/Lib/argparse.py b/Lib/argparse.py index 6ef0bea5c6c..ea39d26687b 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 = '' -- cgit v1.2.3