INNER CODE UNIT · Python
format_help
hartwork/git-delete-merged-branches · git_delete_merged_branches/_argparse_color.py:31
def format_help(self):
text = super().format_help()
for pattern, replacement in _SUBSTITUTIONS:
matcher = re.compile(pattern, flags=re.MULTILINE)
text = matcher.sub(replacement, text)
return text
Class.__name__ = class_name
return Class