MCPcopy Create free account
hub / github.com/apache/madlib / _split_lines

Method _split_lines

src/madpack/argparse.py:643–645  ·  view source on GitHub ↗
(self, text, width)

Source from the content-addressed store, hash-verified

641 self._dedent()
642
643 def _split_lines(self, text, width):
644 text = self._whitespace_matcher.sub(' ', text).strip()
645 return _textwrap.wrap(text, width)
646
647 def _fill_text(self, text, width, indent):
648 text = self._whitespace_matcher.sub(' ', text).strip()

Callers 1

_format_actionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected