(self, text, width)
| 653 | self._dedent() |
| 654 | |
| 655 | def _split_lines(self, text, width): |
| 656 | text = self._whitespace_matcher.sub(' ', text).strip() |
| 657 | # The textwrap module is used only for formatting help. |
| 658 | # Delay its import for speeding up the common usage of argparse. |
| 659 | import textwrap |
| 660 | return textwrap.wrap(text, width) |
| 661 | |
| 662 | def _fill_text(self, text, width, indent): |
| 663 | text = self._whitespace_matcher.sub(' ', text).strip() |
no test coverage detected