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

Method start_section

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

Source from the content-addressed store, hash-verified

262 # ========================
263
264 def start_section(self, heading):
265 self._indent()
266 section = self._Section(self, self._current_section, heading)
267 self._add_item(section.format_help, [])
268 self._current_section = section
269
270 def end_section(self):
271 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