aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/argparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r--Lib/argparse.py8
1 files changed, 0 insertions, 8 deletions
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 = ''