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

Method start_section

Lib/argparse.py:261–265  ·  view source on GitHub ↗
(self, heading)

Source from the content-addressed store, hash-verified

259 # ========================
260
261 def start_section(self, heading):
262 self._indent()
263 section = self._Section(self, self._current_section, heading)
264 self._add_item(section.format_help, [])
265 self._current_section = section
266
267 def end_section(self):
268 self._current_section = self._current_section.parent

Callers 1

format_helpMethod · 0.80

Calls 2

_indentMethod · 0.95
_add_itemMethod · 0.95

Tested by

no test coverage detected