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

Method _iter_indented_subactions

Lib/argparse.py:674–682  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

672 return help_string % params
673
674 def _iter_indented_subactions(self, action):
675 try:
676 get_subactions = action._get_subactions
677 except AttributeError:
678 pass
679 else:
680 self._indent()
681 yield from get_subactions()
682 self._dedent()
683
684 def _split_lines(self, text, width):
685 text = self._whitespace_matcher.sub(' ', text).strip()

Callers 2

add_argumentMethod · 0.95
_format_actionMethod · 0.95

Calls 2

_indentMethod · 0.95
_dedentMethod · 0.95

Tested by

no test coverage detected