(self, text, width)
| 739 | self._dedent() |
| 740 | |
| 741 | def _split_lines(self, text, width): |
| 742 | text = self._whitespace_matcher.sub(' ', text).strip() |
| 743 | # The textwrap module is used only for formatting help. |
| 744 | # Delay its import for speeding up the common usage of argparse. |
| 745 | import textwrap |
| 746 | return textwrap.wrap(text, width) |
| 747 | |
| 748 | def _fill_text(self, text, width, indent): |
| 749 | text = self._whitespace_matcher.sub(' ', text).strip() |
no test coverage detected