(self, action)
| 729 | return _re.sub(fmt_spec, colorize, help_string, flags=_re.VERBOSE) |
| 730 | |
| 731 | def _iter_indented_subactions(self, action): |
| 732 | try: |
| 733 | get_subactions = action._get_subactions |
| 734 | except AttributeError: |
| 735 | pass |
| 736 | else: |
| 737 | self._indent() |
| 738 | yield from get_subactions() |
| 739 | self._dedent() |
| 740 | |
| 741 | def _split_lines(self, text, width): |
| 742 | text = self._whitespace_matcher.sub(' ', text).strip() |
no test coverage detected