MCPcopy Index your code
hub / github.com/python/cpython / _fill_text

Method _fill_text

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

Source from the content-addressed store, hash-verified

746 return textwrap.wrap(text, width)
747
748 def _fill_text(self, text, width, indent):
749 text = self._whitespace_matcher.sub(' ', text).strip()
750 import textwrap
751 return textwrap.fill(text, width,
752 initial_indent=indent,
753 subsequent_indent=indent)
754
755 def _get_help_string(self, action):
756 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