MCPcopy Index your code
hub / github.com/RustPython/RustPython / _fill_text

Method _fill_text

Lib/argparse.py:691–696  ·  view source on GitHub ↗
(self, text, width, indent)

Source from the content-addressed store, hash-verified

689 return textwrap.wrap(text, width)
690
691 def _fill_text(self, text, width, indent):
692 text = self._whitespace_matcher.sub(' ', text).strip()
693 import textwrap
694 return textwrap.fill(text, width,
695 initial_indent=indent,
696 subsequent_indent=indent)
697
698 def _get_help_string(self, action):
699 return action.help

Callers 1

_format_textMethod · 0.95

Calls 3

stripMethod · 0.45
subMethod · 0.45
fillMethod · 0.45

Tested by

no test coverage detected