https://github.com/python/cpython/commit/b052fa381fa2ce6820332d56fb22cd7156529d24
commit: b052fa381fa2ce6820332d56fb22cd7156529d24
branch: main
author: Frank Dana <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-02-21T11:32:28Z
summary:

argparse: remove incoherent and redundant docstring for private method 
(GH-101591)

Signed-off-by: FeRD (Frank Dana) <[email protected]>

files:
M Lib/argparse.py

diff --git a/Lib/argparse.py b/Lib/argparse.py
index 6ef0bea5c6cd4a..ea39d26687b931 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 = ''

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to